AladiaDocs
Api referenceApi tokens

Create an api token

POST
/v2/auth/api-tokens
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/v2/auth/api-tokens" \  -H "Content-Type: application/json" \  -d '{    "expiresIn": "2019-08-24T14:15:22Z",    "name": "string",    "noExpiration": true  }'
{}