ClickHelp User Manual
[API] Change User Profile
Updates user's profile information.
PATCH users/{user-login}
Authentication
This request requires basic authentication.
Request Parameters
Path params
user-login |
string
|
The login of the user to update the profile of. |
---|
Body params
updatedFields |
string
|
A comma-separated list of fields that will be updated. If a field name is not in the list, it will not be updated even if the field value is specified in other request parameters.
|
---|---|---|
string
|
[optional] Email of the user. | |
userRole
|
string
|
[optional] If the user is Contributor, the user role, e.g., Reviewer, Translator, Writer, etc.
If the user is a Power Reader or a Reviewer, a comma-separated list of Power Reader or Reviewer Access Groups this user belongs to. |
userType
|
string
|
[optional] The type of the user: Contributor or PowerReader.
|
isEnabled
|
bool
|
[optional] Whether the account is enabled or not.
|
Samples
Request sample
Bash (Unix Shell) |
curl --location -g --request PATCH 'https://{portal-url}/api/v1/users/johndoe' ^ |
Response Sample
JSON |
{ |