V1 / Tokens / Api-keys

Delete an API key

Revoke an API key immediately. Session-authenticated (dashboard login; owner/admin).

DELETE/api/v1/tokens/api-keys/:id

Query / Path parameters

NameInRequiredDescription
idpathYesToken ID

Responses

200

JSON { message } confirmation

404

Token not found in your space

Request
curl -X DELETE "https://bannx.com/api/v1/tokens/api-keys/:id" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{}'
Response
// JSON { message } confirmation
{
  "success": true,
  "data": { ... }
}