Update User

POST {{baseUrl}}/1/users/update

Updates the provided user. If the authenticated user is a bot user, users of the same company can be updated. Otherwise, only the authenticated user can be updated. Currently only supports updating the user's profile picture.

Request Body

[{"name"=>"user_id", "value"=>"sunt eu laborum", "datatype"=>"string"}, {"name"=>"picture", "value"=>"cupidatat ad in adipisicing", "datatype"=>"string"}, {"name"=>"picture_url", "value"=>"aliquip ex labore", "datatype"=>"string"}, {"name"=>"sort_by", "value"=>"asc", "datatype"=>"string"}, {"name"=>"sort_order", "value"=>"asc", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"id":"UTUAEAiZl6B","name":"Jane Doe","is_robot":false,"affinity":0.43,"company_id":"IMbAcASGu56","emails":["jane@example1.com","jane@example2.com"],"disabled":false,"created_usec":1632022665732239,"chat_thread_id":"adHAAAKik9A","profile_picture_url":"https://acme.quip.com:443/vWMeAXtnYvRMJJH_A6OaMA","desktop_folder_id":"AGWAOAhT3qk","archive_folder_id":"BGWAOAhT3qk","starred_folder_id":"CGWAOAhT3qk","private_folder_id":"DGWAOAhT3qk","trash_folder_id":"EGWAOAhT3qk","shared_folder_ids":["FGWAOAhT3qk","GGWAOAhT3qk"],"group_folder_ids":["HGWAOAhT3qk","IGWAOAhT3qk"]}