Api tokens
Delete Customer Token
Permanently revokes a customer-scoped API token. Users can only delete tokens within their customer scope.
DELETE /api/customer/tokens/:id
Example (cURL)
curl -X DELETE "$BASE_URL/api/customer/tokens/2" \
-H "Cookie: $SESSION_COOKIE"Response
{ "success": true }Common errors
403 Forbiddenwhen the token is outside your customer scope, or when the token is org-scoped (nocustomerId)404 Token not foundwhen the token doesn't exist or belongs to another org