---
title: "Create a BYOIP Prefix"
method: POST
path: "/v2/byoip_prefixes"
tags: ["DigitalOcean-public.v2-new_BYOIP Prefixes"]
---

# Create a BYOIP Prefix

`POST /v2/byoip_prefixes`

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.

## Request body

- ByoipPrefixCreate
  - `prefix` string, required — The IP prefix in CIDR notation to bring
  - `region` string, required — The region where the prefix will be created
  - `signature` string, required — The signature hash for the prefix creation request

## Response `202`

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

- object
  - `uuid` string — The unique identifier for the BYOIP prefix
  - `region` string — The region where the prefix is created
  - `status` string — The status of the BYOIP prefix

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `422` — Unprocessable Entity
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
