DELETE
/
domains
/
{slug}
from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.domains.delete(slug="acme.com")

    assert res is not None

    # Handle response
    print(res)
{
  "slug": "acme.com"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

slug
string
required

The domain name.

Example:

"acme.com"

Response

200
application/json
The domain was deleted.
slug
string
required

The domain name.

Example:

"acme.com"