cURL
curl --request POST \ --url https://app.aegister.com/api/v1/settings/users/tokens \ --header 'Content-Type: application/json' \ --header 'X-Aegister-Token: <api-key>' \ --data ' { "name": "<string>" } '
{ "error": 0, "messages": "<array>", "data": { "token": "<string>" } }
Create new Token for current authenticated user.
Name for the new API token.
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
1
[]
Show child attributes