Skip to content

Delete an access rule

DELETE
/api/zones/{zoneId}/access-rules/{id}

Permanently removes an access rule from the zone.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext).

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
id*

access-rule identifier

Type
string
Required

Responses

access-rule resource deleted

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI