Skip to main content

Detach Floating IPv4

PUT/api/v1/reserve_ips/floating-ip/detach/

Query parameters

  • project_idQuerystringoptional

    Identifier 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}}
  • apikeyQuerystringoptional

    API key used to authenticate the request

    • required
    • non-empty string
    example{{api_key}}
  • locationQuerystringoptional

    The target region or data center for the detach operation.

    • Must be a non-empty string
    • Should match the service's location identifier format (e.g., alphanumeric with optional hyphens)
    example{{location}}

Request body

application/json

string

JSON string specifying the floating IP address and node IDs to detach

example{ "ip_address": {{floating_ip}}, "node_ids": [ {{node_id}} ] }
  • must be valid JSON
  • must contain "ip_address" field with a valid IPv4 address
  • must contain "node_ids" field as an array of node identifiers

Responses

200Successful response
object
codeinteger

HTTP status code indicating the result of the detach operation

example200
  • must be an integer
  • must be a valid HTTP status code (e.g., 200 for success)
dataobject
errorsobject
messagestring

Human-readable status message indicating the result of the detach operation.

exampleFloating IP is detached successfully.
  • Must be a non-empty string
  • Maximum length 256 characters