v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_BYOIP Prefixes

Create a BYOIP Prefix

To create a BYOIP prefix, send a POST request to /v2/byoip_prefixes.

A successful request will initiate the process of bringing your BYOIP Prefix into your account. The response will include the details of the created prefix, including its UUID and status.

post/v2/byoip_prefixes

Request body

prefixstring required

The IP prefix in CIDR notation to bring

regionstring required

The region where the prefix will be created

signaturestring required

The signature hash for the prefix creation request

Example request

{
  "prefix": "203.11.13.0/24",
  "region": "nyc3",
  "signature": "<sample-signature>"
}

Response

BYOIP prefix request accepted, response will contain the details of the created prefix.

uuidstring

The unique identifier for the BYOIP prefix

regionstring

The region where the prefix is created

statusstring

The status of the BYOIP prefix

Example response

{
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "region": "nyc3",
  "status": "in_progress"
}