Skip to main content

Attach IPv6

POST/api/v1/nodes/ipv6/

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 for authenticating the request

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

    Specifies the location identifier for the IPv6 attachment.

    • must be a non-empty string
    • maximum length of 255 characters
    example{{location}}

Request body

application/json

string

JSON string representing the request body for attaching an IPv6 address

example{ "node_id": {{vm_id}}, "action": "attach", "location": {{location}} }
  • must be a valid JSON string
  • must include a numeric "node_id" field
  • "action" field must be set to "attach"
  • "location" field must be provided

Responses

200Successful response
object
codeinteger

HTTP status code indicating the result of the IPv6 attachment request

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

Human-readable status message for the IPv6 attachment operation.

exampleIPv6 attached successfully to the compute node.
  • non-empty string
  • maximum length 256 characters