DELETE
/
domains
/
{slug}
curl --request DELETE \
  --url https://api.dub.co/domains/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "slug": "acme.com"
}

Authorizations

Authorization
string
headerrequired

Default authentication mechanism

Path Parameters

slug
string
required

The domain name.

Query Parameters

workspaceId
string
required

The ID of the workspace.

projectSlug
string
deprecated

The slug of the project. This field is deprecated – use workspaceId instead.

Response

200 - application/json
slug
string
required

The domain name.