JavaScript
API Keys
Delete an API key
Remove a key for good. Its token dies with it, and there is no undo.
DELETE
JavaScript
Deletion is permanent: the key disappears from the workspace and every token it ever issued stops authenticating. When you want the credential dead but the record kept, reach for disable instead.
The system-managed global key is the exception: it cannot be deleted at all. Its off switch is disable.
Related
Disable an API key
Kill the token, keep the key.
List API keys
Confirm what remains.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The workspace the API key belongs to (path).
Example:
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
The API key to delete.
Example:
"apikey_01HXKD2E5NQM3T9AYWCFCSPNQY"