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"
}Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.
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"
}Was this page helpful?