POST
/
token
Generate a new short-lived fault token
curl --request POST \
  --url https://api.altostrat.io/faults/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expire_after_minutes": 60
}'
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parameters for generating a token

The body is of type object.

Response

200
application/json

Token created successfully

The response is of type object.