Update a Folder
POST {{baseUrl}}/1/folders/update?include_chats=true
Updates a folder.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_chats | boolean | If true , the children list in the response will include chat and | |
channel thread IDs. | |||
Request Body
[{"name"=>"folder_id", "value"=>"sunt commodo aliquip", "datatype"=>"string"}, {"name"=>"title", "value"=>"Changed name from API", "datatype"=>"string"}, {"name"=>"color", "value"=>"manila", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"folder":{"id":"RKH9OAELPKV","title":"Sales Group","created_usec":-13263441,"updated_usec":87476356,"creator_id":"KLf9EAPrxbs","folder_type":"private","inherit_mode":"reset","color":"light_green","parent_id":"eSEAOA3jRQ5","link":"https://acme.quip.com/RKH9OAELPKV","sharing":{"public":"VIEW","company_id":"IMbAcASGu56","company_mode":"VIEW"}},"member_ids":["YNK9EAU71mc","PEW9EAtTnrV","aBd9EAl8R0H"],"children":[{"thread_id":"TVfAAAGtWxs"},{"thread_id":"TVfAAAGtWxs"}]}