Detach AddOn IPv4
POST
/api/v1/reserve_ips/{addon_ip}/actions/Path parameters
addon_ipPathstringrequiredPath parameter
addon_ip.
Query parameters
project_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key used for authentication
- required
- non-empty string
example{{api_key}}locationQuerystringoptionalSpecifies the target location for detaching the IPv4 add-on.
- non-empty string
- valid location identifier
example{{location}}
Request body
application/json
JSON string representing the detach add-on IPv4 request
example
{
"type": "detach",
"vm_id": {{vm_id}}
}- must be valid JSON
- must include a "type" field with value "detach"
- must include a "vm_id" field
Responses
200Successful response
HTTP status code indicating the result of the detach add-on IPv4 request
example
200- integer
- value between 100 and 599
Status message indicating the result of the IPv4 detach operation.
example
IP Detached Successfully.- must be a non-empty string
- contains only printable ASCII characters
- max length 100 characters