Management APIManagement keys

Revoke a management key

Requires keys:write and permission to manage this key. Revocation invalidates its secret. A missing, already revoked, or inaccessible key is not found.

Endpoint playground

Targets https://berrybox.io. Hosted availability is pending. Use a disposable key; this form keeps credentials only until you leave this endpoint or select Clear.

Requires keys:write and permission to manage this key. Revocation invalidates its secret. A missing, already revoked, or inaccessible key is not found.

Authorization

ManagementKey
AuthorizationBearer <token>

A team-bound management key with the endpoint's required scope. Dashboard cookies, sandbox keys, and OIDC tokens are not accepted.

In: header

Path Parameters

apiKeyId*string

The key metadata ID returned by list or create; not the key secret.

Header Parameters

Idempotency-Key?string

Optional team-scoped mutation key, bound to the caller and request. A conflicting or in-progress request returns 409. Completed create and rotate requests also return 409 on replay; their secrets are never stored for replay. Completed revocation requests can replay their result.

Match^[!-~]{1,128}$
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/management/v1/api-keys/string"
{  "ok": true,  "type": "api_key.revoked",  "id": "string"}