EasypanelDocs

Revoke an API token

Revokes the stored API token for a user.

POST
/revokeApiToken

Revokes the stored API token for a user.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/revokeApiToken" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
null