v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
APIKey

Delete api key

Requires one of the following scopes: api_keys:delete, api_keys:all, all:delete, all:all

delete/api/v2/api-keys/{id}

Path parameters

idstring uuid required
Example:019f94cd-adf6-7015-aea8-caa1d8b1dbe2

The ID of the item to delete

Request body

{"stackTrail":"paths:/api/v2/api-keys/{id}:delete:requestBody:content:application/json:schema","oasType":"schema","type":"unknown","example":null}

Response

The deleted API Key

idstring uuid required
namestring required
scopesstring[] required
keystring required
organization_idstring uuid required
timestamp_createdstring date-time required
timestamp_updatedstring date-time required

Example response

{
  "id": "019f94cd-837d-7036-ad0e-40ee80966f48",
  "name": "My API Key",
  "scopes": [
    "campaigns:create"
  ],
  "key": "a1b2c3d4e5f6g7h8i9j0",
  "organization_id": "019f94cd-838a-7e2f-ac76-250dd29596cb",
  "timestamp_created": "2026-07-24T15:45:24.362Z",
  "timestamp_updated": "2026-07-24T15:45:24.362Z"
}