Networking
Update VPC
Update a VPC's name or description. CIDR cannot be changed after creation.
put/api/v1/vpcs/{id}
Path parameters
idstring uuid required
VPC ID (UUID).
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Response
VPC updated
Example response
{
"data": {
"name": "vpc-prod",
"cidr": "10.0.0.0/24",
"gateway": "10.0.0.1",
"status": "active",
"total_ips": 256,
"used_ips": 4
}
}Changes
Changed in 1 of the 28 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○