Skip to main content
curl

Authorizations

Authorization
string
header
required

A management token: ds_mgmt_ followed by 40 lowercase hexadecimal characters, created by an owner in Settings → Management tokens. Opaque: send it as is, in the Authorization header only.

Path Parameters

domain
string
required

The site's bare domain, normalized like the console form (trimmed, lowercase). www.news-site.example and news-site.example are two different sites. A domain that is not a site of this organisation — absent, another organisation's, or not a valid domain — is 404, except on PUT /v1/sites/{domain}, which creates the site and answers 422 for an invalid domain.

id
string
required

The rule id, from GET /v1/sites/{domain}/routes.

Body

application/json

Send Content-Type: application/json and {}.

An empty JSON object, {}. A DELETE without it is refused (400).

Response

The rule was deleted.

id
string
required

The deleted rule id.

deleted
boolean
required