Skip to content

Delete a basic auth user

DELETE
/api/zones/{zoneId}/basic-auth-users/{id}

Removes a basic auth user from the zone. The request is rejected with 409 Conflict if the user is still referenced by a configuration rule; remove the user from the rule first.

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*

basic-auth-user identifier

Type
string
Required

Responses

basic-auth-user resource deleted

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI