v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-112650216.3 KB
Accounts

Revoke API key

Revokes an API key for the authenticated account.

delete/v1/account/api-keys/{key_id}

Path parameters

key_idstring required
Example:api_key_a1b2c3d4e5f6

API key id from the list response.

Response

API key revoked.

revokedboolean required
nextActionsstring[] required

Example response

{
  "apiKey": {
    "id": "api_key_a1b2c3d4e5f6",
    "name": "Production scraper",
    "tokenPrefix": "tovuk_key_8Qm2",
    "createdAt": "2026-06-23T12:00:00Z",
    "lastUsedAt": null,
    "revokedAt": "2026-06-23T12:05:00Z",
    "currentDayRequestCount": 42,
    "currentMonthRequestCount": 5160
  },
  "revoked": true,
  "nextActions": [
    "Remove this key from scripts and saved settings."
  ]
}