updateUser
Update a User object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PUT
/v1/chat/users/{id}Authorization
AuthorizationBearerrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Header parameters
x-bot-idstringrequiredBot id
x-integration-idstringIntegration id
x-integration-aliasstringIntegration alias
Path parameters
idstringrequiredUser ID
Request body
User data
tagsobjectTags for the User
namestring | nullName of the user(max length: 200)
pictureUrlstring | nullURI of the user picture(max length: 40000)
attributesobjectdeprecatedDEPRECATED - Use properties instead.
propertiesobjectEXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
Response
Returns an updated User object if a valid identifier was provided. Returns an error otherwise
userobjectrequiredThe user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.