Update an API key
POSThttp://localhost:4000/api/apiTokens/updateUserApiToken
Changes the name or permissions of a key. You can only give permissions you have yourself.
Body Params
idintegerrequired
ID of the key.
namestring
permissionsobject
What the key is allowed to do.
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.