Rotate an API key
POSThttp://localhost:4000/api/apiTokens/rotateUserApiToken
Creates a new key with the same permissions, and retires the old one after the delay you choose.
Body Params
idintegerrequired
ID of the key.
expireDelayenumrequired
How long the old key keeps working.
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.