POST
/
frontend
/
api
/
v1
/
auth
/
api-token
curl --request POST \
  --url https://{host}/frontend/api/v1/auth/api-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "permissions": [
    "read:billing"
  ],
  "ttl": 0
}'
{
  "created": "2023-11-07T05:31:56Z",
  "expired": null,
  "expires-at": null,
  "permissions": {},
  "token": "<string>",
  "updated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key Security (Header).

Body

Response

200
application/json

OK

The response is of type object.