latestOpenAPI 3.1.02026-08-149289225.1 KB

664536fccd0e

API keys

Delete an API key

delete/api/v0beta1/api-keys/{id}

Path parameters

idstring required

WorkOS API key id.

Example:key_01H...

WorkOS API key id.

Query parameters

scope'organization' | 'user'

Scope of the key to delete. Defaults to organization; pass user to revoke a user-scoped key.

Example:organization

Scope of the key to delete. Defaults to organization; pass user to revoke a user-scoped key.

Response

API key deleted.