{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can update the details of a single collection by making a PUT request to `https://api.intercom.io/help_center/collections/<id>`.\n\n`help_center_id` is checked but never applied. It must match the help center of the collection's articles and sub-collections, or the request returns a `400`. A collection with no content rejects any `help_center_id`, so leave it out. Moving a collection to another help center isn't supported.\n\nRequires the `read_write_articles_scope` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"collection_id":{"type":"integer","examples":[123],"description":"The unique identifier for the collection which is given by Intercom."}},"required":["collection_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/update_collection_request","examples":[{"name":"Update collection name"}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"update_collection_request":{"description":"You can update a collection","type":"object","title":"Update Collection Request Payload","properties":{"name":{"type":"string","description":"The name of the collection. For multilingual collections, this will be the name of the default language's content.","examples":["collection 51"]},"description":{"type":"string","description":"The description of the collection. For multilingual collections, this will be the description of the default language's content.","examples":["English description"]},"icon":{"type":"string","description":"The icon of the collection, for example `book-bookmark`. If you leave out `icon`, or send it empty, the collection's icon is reset to `folder`.","examples":["book-bookmark"]},"translated_content":{"$ref":"#/definitions/group_translated_content"},"parent_id":{"type":["string","null"],"description":"The id of the parent collection to move the collection into. Omitting this field or sending `null` leaves the collection where it is. Send `home` to move it to the first level.","examples":["6871118"]},"help_center_id":{"type":["integer","null"],"description":"Checked against the collection's Help Center but not applied, so it can't move the collection to another Help Center.","examples":[123]}}},"group_translated_content":{"title":"Group Translated Content","type":["object","null"],"description":"The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.","properties":{"type":{"type":["string","null"],"description":"The type of object - group_translated_content.","enum":[null,"group_translated_content"],"examples":["group_translated_content"]},"ar":{"$ref":"#/definitions/group_content"},"bg":{"$ref":"#/definitions/group_content"},"bs":{"$ref":"#/definitions/group_content"},"ca":{"$ref":"#/definitions/group_content"},"cs":{"$ref":"#/definitions/group_content"},"da":{"$ref":"#/definitions/group_content"},"de":{"$ref":"#/definitions/group_content"},"el":{"$ref":"#/definitions/group_content"},"en":{"$ref":"#/definitions/group_content"},"es":{"$ref":"#/definitions/group_content"},"et":{"$ref":"#/definitions/group_content"},"fi":{"$ref":"#/definitions/group_content"},"fr":{"$ref":"#/definitions/group_content"},"he":{"$ref":"#/definitions/group_content"},"hr":{"$ref":"#/definitions/group_content"},"hu":{"$ref":"#/definitions/group_content"},"id":{"$ref":"#/definitions/group_content"},"it":{"$ref":"#/definitions/group_content"},"ja":{"$ref":"#/definitions/group_content"},"ko":{"$ref":"#/definitions/group_content"},"lt":{"$ref":"#/definitions/group_content"},"lv":{"$ref":"#/definitions/group_content"},"mn":{"$ref":"#/definitions/group_content"},"nb":{"$ref":"#/definitions/group_content"},"nl":{"$ref":"#/definitions/group_content"},"pl":{"$ref":"#/definitions/group_content"},"pt":{"$ref":"#/definitions/group_content"},"ro":{"$ref":"#/definitions/group_content"},"ru":{"$ref":"#/definitions/group_content"},"sl":{"$ref":"#/definitions/group_content"},"sr":{"$ref":"#/definitions/group_content"},"sv":{"$ref":"#/definitions/group_content"},"tr":{"$ref":"#/definitions/group_content"},"vi":{"$ref":"#/definitions/group_content"},"pt-BR":{"$ref":"#/definitions/group_content"},"zh-CN":{"$ref":"#/definitions/group_content"},"zh-TW":{"$ref":"#/definitions/group_content"}}},"group_content":{"title":"Group Content","type":["object","null"],"description":"The Content of a Group.","properties":{"type":{"type":["string","null"],"description":"The type of object - `group_content` .","enum":[null,"group_content"],"examples":["group_content"]},"name":{"type":"string","description":"The name of the collection or section.","examples":["Collection name"]},"description":{"type":"string","description":"The description of the collection. Only available for collections.","examples":[" Collection description"]}}}}},"name":"Update a collection","id":"intercom.updatecollection","example":{"path":{"collection_id":123}},"maxRequests":1,"summary":false}}