API keys
Delete API key
Revoke an API key with the TypeScript SDK.
DELETE
Delete API key
Use
Returns
blnk.ApiKeys.delete to revoke an API key by ID.
blnk.ApiKeys.delete
| Field | Description |
|---|---|
id | ID of the API key to revoke. |
options.owner | Owner of the key. Required when authenticating with the master key. |
Response shape
204 No Content
204 No Content on success with an empty body, so response.data is null.
Related docs
How API keys work
Scopes, the master key, and the auth model.
Revoke API key
HTTP request and response schema.