pydo.byoip_prefixes.delete()
Generated on 15 Jul 2025
from pydo
version
v0.13.0
Description
To delete a BYOIP prefix and remove it from your account, send a DELETE request
to /v2/byoip_prefixes/{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.