Deactivate an API key.
Requires JWT Bearer authentication with the token received from the login endpoint. The key is deactivated, not permanently deleted, and can be reactivated if needed.
Bearer token (JWT) from OAuth2 login
Path Parameters
The ID of the API key to delete
Response
The ID of the deleted key
Prefix of the deleted key
Should be false after deletion
Deleting an API key will immediately revoke access for any applications using it. Ensure you update your applications before deleting a key.
If the deleted key was set as the default, you’ll need to set a new default key using the /api/v1/auth/keys/{key_id}/default endpoint.