Update topic group

Method

PUT

URL

https://typetalk.com/api/v1/spaces/:spaceKey/myTopicGroups/:myTopicGroupId

Scope

my

URL parameters

Name Type Description
spaceKey String Space key
myTopicGroupId Number My Topic Group ID

Form parameters

Name Type Description
name String Topic Group Name
sortType String(Fixed) Sort type(“recent” or “alphanumerical”)
isMuted Boolean Mute setting

Response Example

{
    "myTopicGroup": {
        "id": 1656,
        "name": "Awesome topic group",
        "sortType": "recent",
        "isMuted": true
    }
}

All responses are formatted in JSON and include an ETag. If you call an API with an If-None-Match header, the server will return a 304 status code if the data is unchanged. The date and time format is ISO 8601, and the timezone is UTC (eg. 2014-01-09T06:20:08Z).