Create an API key
POSThttp://localhost:4000/api/apiTokens/createUserApiToken
Creates an API key with no permissions. You can have up to 5.
Body Params
namestringrequired
A name that reminds you what the key is for.
durationenum
Unit of time for the expiry. Leave out for a key that does not expire.
amountinteger
How many units until the key expires.
Responses
200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.