Skip to main content
Version: V2

Revoke API key

DELETE 

/v2/organizations/:orgId/api-keys/:keyId

Revoke an API key for an organization. The key stops working as soon as the call returns, and the action can't be undone.

Request

Path Parameters

    orgId stringrequired

    Organization ID

    Example: 507f1f77bcf86cd799439011
    keyId stringrequired

    API Key ID (not the full key, but the keyId)

    Example: key_Abc123XyZ789

Responses

API key revoked successfully

Schema

    success booleanrequired

    Whether the deletion was successful

    message stringrequired

    Status message

Loading...