Skip to main content
DELETE
Revoke API key
Requires keys:write scope. Naturally idempotent.
Revoked keys stop working within 60 seconds. May return 202 with propagation_status: "pending" while the change takes effect.
All parameters, request/response schemas, and examples are auto-generated from the OpenAPI specification.

Authorizations

Authorization
string
header
required

API key authentication. Keys start with ak_ prefix. Example: Authorization: Bearer ak_live_xxxxxxxxxxxx

Path Parameters

workspace_id
string<uuid>
required

Workspace identifier

api_key_id
string<uuid>
required

API key identifier

Response

Accepted — revocation queued for propagation

Response when an operation is accepted but propagation is pending.

id
string<uuid>
required

Identifier of the affected resource

propagation_status
enum<string>
required

Propagation status

Available options:
pending
message
string
required

Human-readable status message