v1
latestOpenAPI 3.0.02026-07-135965404.0 KBUsers
Update a user
Updates the settings for the user. Note that the unique key for this API call is our internal ID, and not the username, as the username can be changed.
In the request body, you should only send the parameters for values that you wish to change for the user.
Notes:
- You must have admin or master access to edit other users. If you have user-level access, you can only update your own user settings.
- You cannot edit a master user with this method.
patch/users/{id}
Headers
ev-api-keystring required
Example:exampleaccount-zwSuWUZ8S38h33qPS8v0s
API key required to make the API call.
ev-access-tokenstring required
Example:19853ef63a0bc348024a9e4cfd4a92520d2dfd04e88d8679fb1ed6bc551593d1
Access token required to make the API call.
Request body
Example request
{
"username": "testuser",
"nickname": "testnickname",
"homeResource": "/",
"email": "testuser@example.com",
"role": "user",
"timeZone": "America/Los_Angeles",
"expiration": "2011-03-21 00:18:56",
"locked": true,
"onboarding": true
}Response
Successful Operation