dots.v2.reserved_ips.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.reserved_ips.post(body: Reserved_ip_createMember1 | Reserved_ip_createMember2, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Reserved_ipsPostResponse>Description
On creation, a reserved IP must be either assigned to a Droplet or reserved to a region.
-
To create a new reserved IP assigned to a Droplet, send a POST request to
/v2/reserved_ipswith thedroplet_idattribute. -
To create a new reserved IP reserved to a region, send a POST request to
/v2/reserved_ipswith theregionattribute.
Parameters
bodyobject requiredShow child properties
dropletIdinteger optionalExample:
2457247The ID of the Droplet that the reserved IP will be assigned to.
regionstring optionalExample:
nyc3The slug identifier for the region the reserved IP will be reserved to.
projectIdstring optionalExample:
746c6152-2fa2-11ed-92d3-27aaa54e4988The UUID of the project to which the reserved IP will be assigned.
Request Sample
Response Example
More Information
See /v2/reserved_ips in the API reference for additional detail on responses, headers, parameters, and more.