pydo.byoip_prefixes.delete()

Generated on 4 Jun 2026 from pydo version v0.35.0

Usage

client.byoip_prefixes.delete(
    byoip_prefix_uuid="f47ac10b-58cc-4372-a567-0e02b2c3d479",
)
Returns NoneRaises HttpResponseError

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

byoip_prefix_uuid string required

The unique identifier for the BYOIP Prefix.

Min: 1

Request Sample

Show 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 /v2/byoip_prefixes/{byoip_prefix_uuid} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.