Networking
Update VPC
Changed onUpdate a VPC's name or description. CIDR cannot be changed after creation.
put/api/v1/vpcs/{id}
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/vpcs/{id}
- AuthAPI key in header X-API-Key
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
- info
endpoint added
- info