Skip to content

Clear a zone redirect map

DELETE
/api/zones/{zoneId}/redirect-map

Removes every redirect for the zone, emptying its redirect map. Idempotent: clearing an already-empty map still succeeds. Returns 204 No Content.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

zoneId*

Zone identifier

Type
string
Required

Responses

redirect-map resource deleted

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI