pydo.reserved_ipv6_actions.post()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.reserved_ipv6_actions.post(
reserved_ipv6="2409:40d0:f7:1017:74b4:3a96:105e:4c6e",
body={
"type": "assign",
"droplet_id": 758604968,
},
)Description
To initiate an action on a reserved IPv6 send a POST request to
/v2/reserved_ipv6/{reserved_ipv6}/actions. In the JSON body to the request,
set the type attribute to on of the supported action types:
| Action | Details |
|---|---|
assign |
Assigns a reserved IPv6 to a Droplet |
unassign |
Unassign a reserved IPv6 from a Droplet |
Parameters
reserved_ipv6string requiredA reserved IPv6 address.
typestring requiredThe type of action to initiate for the reserved IPv6.
droplet_idinteger optionalExample:
758604968The ID of the Droplet that the reserved IPv6 will be assigned to.
Request Sample
Response Example
More Information
See /v2/reserved_ipv6/{reserved_ipv6}/actions in the API reference for additional detail on responses, headers, parameters, and more.