Edits an SSO user in the Chatwee database. Allows for modifying the details of an existing SSO user.
https://chatwee-api.com/v2/sso-user/edit
GET https://chatwee-api.com/v2/sso-user/edit?chatId=57c493789da1fbc017000029&clientKey=507f191e810c19729de860ea&userId=582b8fe76b0c2d22587336f4&login=NewLogin&isAdmin=1
true
Name | Description | Type | Mandatory | Remarks |
---|---|---|---|---|
chatId | unique chat ID | string | yes | available in 'INTEGRATION' section of the Chatwee Dashboard |
clientKey | client secret | string | yes | available in 'INTEGRATION' section of the Chatwee Dashboard |
userId | user ID | string | yes | obtained with /sso-user/register method |
login | user login | string | yes | - |
isAdmin | if user has admin role | (0,1) | no | - |
avatar | user avatar | string | no | an absolute URL of the user avatar image |
url | URL of the user profile | string | no | if set, clicking on the link will navigate to this URL |