API keys
Delete API key
Revoke an API key with the Python SDK.
DELETE
Delete API key
Use
blnk.api_keys.delete to revoke an API key by ID.
Call the method
blnk.api_keys.delete
| Field | Type | Description |
|---|---|---|
id | str | ID of the API key to revoke. |
owner | str | Owner of the key. Required when authenticating with the master key. |
Confirm the outcome
On success, Core returns
204 No Content and response.data is None. The key can no longer authenticate requests.Related docs
How API keys work
Scopes, the master key, and the auth model.
Revoke API key
HTTP request and response schema.