Revoke API Key

Beta
DELETE/v1/auth/api-keys/{id}

This endpoint is idempotent. Learn more

Revokes an API key.

Revocation takes effect immediately and cannot be undone; revoked keys can no longer be used to authenticate requests. To replace a key without losing access, use Rotate API Key instead.

Role type requiredValues:admin
Only API keys or agents whose role has this type can call this endpoint.
idstring

API key ID.

Responses

200

Successful response for Revoke API Key