FruxonDocs
ApiTokens

Revoke a token

Permanently revokes a token — terminal and irreversible. Any request using it immediately starts returning 401. The row is retained so the audit and request-activity history survive. To temporarily suspend access, suspend the owning principal (e.g. the service account) instead — a token cannot be paused and re-enabled.

DELETE
/v1/tenants/{tenant}/tokens/{token}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

apiKey*string

The token identifier

tenant*string

The tenant identifier

token*string

The authentication or validation token

Response Body

curl -X DELETE "https://api.fruxon.com/v1/tenants/string/tokens/string"
Empty
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}