Skip to main content
POST
/
domains
/
remove
Remove a domain
curl --request POST \
  --url https://{subdomain}.nudj.cx/api/v2/admin/domains/remove \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "domain": "<string>"
}'
{
  "apiDomain": "<string>",
  "userDomain": "<string>",
  "customDomains": [
    "<string>"
  ]
}

Authorizations

x-api-token
string
header
required

Body

application/json

The input required to remove a custom domain from the platform

domain
string
required

The custom domain to remove from the platform

Minimum length: 1

Response

Successful response

Whitelabel domain configuration settings

apiDomain
string
required

The primary API domain for the platform (read-only)

Minimum length: 1
userDomain
string
required

The main user domain in format <slug>.nudj.cx (read-only)

Minimum length: 1
customDomains
string[]
required

Custom domains that can be managed

I