v1
protected
api-keys

Immediately revoke an API key.

The key's creator, or a workspace admin. The repository is scoped to the workspace, not to the caller, so without this a member could cut off a colleague's integrations. A runner's key is revoked on its client's page.

delete/v1/workspaces/{workspace}/api-keys/{token_id}

Request

Path parameters

token_idstring uuid required
workspacestring required

Slug of the workspace the request acts in

Response

Successful Response

Changes