Update User API Token
PUT/users/:userId/apitoken
This API will generate a new API Token for a User in the organization. (The API caller does not specify the new token, but receives it in the response to the API)
You must be a brand admin in the specified user's organization in order to update their API token. Or any API User can update their own token.
danger
Token update instantly invalidates and removes the old token. Use the new token from the response for future calls.
Request
Responses
- 200
- 400
- 401
- 404
- 500
- default
Update User API Token Request Successful
Bad Update User API Token Request
Unauthorized Update User API Token Request
User Not Found
Internal Error
A default error response