Create VPC Prefix
Create a VPC Prefix for the org.
Org must have a Tenant entity. User must have FORGE_TENANT_ADMIN authorization role.
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://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current
```
Path parameters
org
Request
This endpoint expects an object.
name
Human readable name for the VPC Prefix
vpcId
ID of the VPC
prefixLength
Prefix length for the VPC Prefix. Valid range is 8 to 31, and max usable value depends on prefix length of parent IP Block.
ipBlockId
Response
Created
id
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
tenantId
ID of the Tenant 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 prefix. Valid range is 8 to 31, and max usable value depends on prefix length of parent IP Block.
status
Status of the VPC Prefix
Allowed values:
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