Revoke API Key
BetaDELETE
/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.
idstringAPI key ID.
Responses
200
Successful response for Revoke API Key