Update
/api/v1/users/{id}Updates a user. Send only the fields you want to change — anything you omit is left exactly as it was, including roles.
Supply password only when you intend to reset it. Omit it and the existing password is preserved.
Supplying roleIds replaces the user's roles rather than adding to them. Read the current roles with Detail first if you mean to append.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
idstringrequiredUser ID.
Example:
namestringoptionalCannot contain
@.emailstringoptionalpasswordstringoptionalNew password. Omit to keep the current one.
roleIdsarray[string]optionalReplaces the existing roles.
phonestring | nulloptionaladdressstring | nulloptionalglobalAgentCapacityinteger | nulloptional
Responses
200OK
OK
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
dataobjectrequiredChild attributes
idstringrequirednamestringrequiredemailstringrequiredphonestring | nullrequiredaddressstring | nullrequiredglobalAgentCapacityinteger | nullrequiredMaximum concurrent conversations for this agent, or null to fall back to the queue setting.
rolesarray[object]requiredChild attributes
idstringrequiredRole ID. Use this in
roleIdswhen creating or updating a user.systemNamestringrequireddisplayNamestringrequireddescriptionstring | nullrequired
createdAtstringrequiredupdatedAtstringrequired
401Unauthorized
Unauthorized
messagestringrequired
404Not Found
Not Found
messagestringrequired
422Unprocessable Entity
Unprocessable Entity
messagestringrequired
429Too Many Requests
Too Many Requests
messagestringrequired