Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.
Python
from dub import Dub with Dub( token="DUB_API_KEY", ) as d_client: res = d_client.domains.delete(slug="acme.com") # Handle response print(res)
{ "slug": "acme.com" }
Default authentication mechanism
The domain name.
"acme.com"
The domain was deleted.
Was this page helpful?