v1
protected
api-keys
Revoke Api Key
Changed onImmediately 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
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
token_idstring uuid required
workspacestring required
Slug of the workspace the request acts in
Response
Successful Response
Changes
- info
endpoint added
- info