Update a collection
Example Request & Response (Multilingual Help Center)
$ curl https://api.intercom.io/help_center/collection/<id> \\-X PUT \\-H 'Authorization:Bearer <Your access token>' \\-H 'Accept:application/json'-H 'Content-Type: application/json' -d{ \"name\": \"New title\", \"translated_content\": { \"es\": { \"name\": \"Nuevo tÃtulo\" } }}
You can update the details of a single collection by making a PUT request to https://api.intercom.io/help_center/collection/<id>
.
Request Path Parameters
Parameter | Type | Required? | Description |
---|---|---|---|
id | String | Yes | The unique identifier for the collection which is given by Intercom. |
Request Body Parameters
Attribute | Type | Required? | Description |
---|---|---|---|
name | String | No | The name of the collection. For multilingual collections, this will be the name of the default language's content. |
description | String | No | The description of the collection. For multilingual articles, this will be the description of the default language's content. |
translated_content | Object | No | A Group Translated Content Object whereby you can specify multiple multilingual collections to be created. |
Response
This will return a Collection Model of the collection you just updated.