EasypanelDocs

Generate an API token

Generates and stores a new API token for a user.

POST
/generateApiToken

Generates and stores a new 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/generateApiToken" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
null