Skip to content
AugentaDocsOpen console ↗
Revoke an API key

Documentation

API reference
View Markdown

Revoke an API key

DELETE/v1/orgs/{id}/keys/{keyId}

The creator or an organization owner/admin may revoke a key. Future authentication fails; durable work already accepted is retained.

Authentication

Use your signed-in console session or a person's WorkOS access token for this setup operation. See authentication and permissions.

Request

Parameters

idstringrequired

path parameter.

Min length: 1

keyIdstringrequired

path parameter.

Responses

Revoked.

objectstringalways present

Allowed: "api_key"

idstringalways present

Min length: 1

revokedbooleanalways present

Allowed: true