Update VPC Prefix
Update an existing VPC Prefix
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
vpcPrefixId
ID of the VPC Prefix
Request
This endpoint expects an object.
name
Name of the VPCPrefix
Response
OK
id
Unique UUID v4 identifier for the VPCPrefix
name
Name of the VPC Prefix
siteId
ID of the Site the VPC Prefix belongs to
vpcId
ID of the VPC the VPC Prefix belongs to
ipBlockId
ID of the IP Block that contains the prefix of the VPC Prefix
prefix
The network prefix including prefix length in CIDR notation
prefixLength
Length of the returned prefix. A VPC Prefix reported by a Site may fall outside the bounds for REST create requests.
status
Status of the VPC Prefix
usageStats
Present when query parameter includeUsageStats=true and the VPC Prefix has IPv4. This statistic reports IPv4 usage only. IP usage counts two addresses per associated Ethernet interface, while prefix usage counts each distinct /31 containing an assigned IPv4 address.
statusHistory
Details of 20 most recent status changes
created
Date and time when the VPC Prefix was created
updated
Date and time when the VPC Prefix was updated
Errors
400
Bad Request Error
403
Forbidden Error