pydo.byoip_prefixes.delete()
Generated on 18 Nov 2025
from pydo version
v0.21.0
Description
To delete a BYOIP prefix and remove it from your account, send a DELETE request
to /v2/byoip_prefixes/$byoip_prefix_uuid.
A successful request will receive a 202 status code with no body in response. This indicates that the request was accepted and the prefix is being deleted.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
byoip_prefix_uuid |
string | True | The unique identifier for the BYOIP Prefix. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.byoip_prefixes.delete(byoip_prefix_uuid="fa3b-1234-5678-90ab-cdef01234567")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.