My App

Delete one or more API keys

Revoke one or more API keys for the authenticated account.

This endpoint permanently deletes the specified API key(s), immediately revoking their access. Once deleted, the API key and secret can no longer be used for authentication. The operation returns the list of successfully deleted API key identifiers.

Requires authentication.

DELETE
/auth/api-keys
OBSIDIAN-KEY<token>

In: header

OBSIDIAN-SECRET<token>

In: header

Query Parameters

api_keys?array<string>

List of API key identifiers to be deleted. Each key will be permanently revoked.

Response Body

application/json

application/json

curl -X DELETE "https://api.dev.obsidian.exchange/auth/api-keys"
{
  "api_keys": [
    "string"
  ]
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}