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

id
string
required

The key id (key_…), from GET /v1/keys.

Body

application/json

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

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

Response

The key, revoked.

A delivery API key, as listed. Never the full key, never its hash.

id
string
required

Stable key id (key_…).

name
string | null
required

The key name, or null.

prefix
string
required

The first characters of the key, shown to recognise it.

created_at
string<date-time>
required

Creation time, UTC.

last_used_at
string<date-time> | null
required

Last use on the fragment endpoint, or null.

revoked_at
string<date-time> | null
required

First revocation time, or null for an active key.