Update a collection
Example Request & Response (Multilingual Help Center)
$ curl https://api.intercom.io/help_center/collection/<id> \\\n-X PUT \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Accept:application/json'\n-H 'Content-Type: application/json' -d\n\n{\n \"name\": \"New title\",\n \"translated_content\": {\n \"es\": {\n \"name\": \"Nuevo tÃtulo\"\n }\n }\n}
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.