users
tokens
Update a token
Changed onDEPRECATED: User API tokens have been deprecated in favor of user API keys. This endpoint remains available to manage existing API tokens. Create a user API key instead.
Update an API token for a user. Only the authenticated user themselves and server admins have access to this endpoint.
patch/v0/users/{user}/tokens/{token}
Request
- The document declares no server URL.
- Authnone declared
Path parameters
tokenstring uuid required
The UUID for a token.
userstring required
The slug or UUID for a user.
Request body
Response
successful operation
Changes
- info
endpoint deprecated
- info
- info
added the optional property
to the response with the status
- info