BazaarLinkBazaarLink
Sign in
DocsAPI ReferenceSDK ReferenceAgentic UsageAI Skills
Management Keys

Delete an API key

Permanently deletes an API key — the database row is removed outright, not disabled. This cannot be undone; unlike PATCH's enabled: false, once deleted a key is gone for good. The auth cache is invalidated immediately and the change propagates, so the key stops working everywhere within seconds. A management endpoint with the same rule as creating/updating a key: the Bearer token must be a Management API Key, or use a logged-in session.

DELETE/api/v1/keys/:id

Authorizations

Authorizationrequired
string · header

API key as bearer token in the Authorization header.

Path parameters

idrequired
string

The ID of the key to delete.

DELETE /api/v1/keys/:id
curl -X DELETE https://bazaarlink.ai/api/v1/keys/key_abc123 \
  -H "Authorization: Bearer $BAZAARLINK_API_KEY"
Response examples

Deleted successfully, no response body.

(no body)
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Delete an API key — BazaarLink API