Networking
Suggest non-overlapping CIDR blocks
Changed onReturns suggested CIDR blocks that don't overlap with the account's existing VPCs. Use one of these as cidr when creating a new VPC.
get/api/v1/vpcs/cidr-suggestions
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/vpcs/cidr-suggestions
- AuthAPI key in header X-API-Key
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Response
CIDR suggestions
Example response
{
"suggested": "10.1.0.0/24",
"suggested_ips": 256,
"alternatives": [
{
"cidr": "10.2.0.0/24",
"available_ips": 256
}
]
}Changes
- info
endpoint added
- info