Remove messages from tag

Remove messages from a tag.

Method

DELETE

URL

https://typetalk.com/api/v1/topics/:topicId/talks/:talkId/posts

Scope

topic.post

URL parameters

Name Type Description
topicId Number Topic ID
talkId Number Tag ID

Query parameters

Name Type Description
postIds[0], postIds[1] …. Number Post IDs that you want to remove from the tag

Response Example

{
  "topic": {
    "id": 208,
    "name": "IT Peeps",
    "description": "",
    "suggestion": "IT Peeps",
    "isDirectMessage": false,
    "lastPostedAt": "2016-12-21T10:12:02Z",
    "createdAt": "2014-06-10T02:32:29Z",
    "updatedAt": "2014-06-10T02:32:29Z"
  },
  "talk": {
    "id": 900,
    "topicId": 208,
    "name": "About us",
    "suggestion": "About us",
    "createdAt": "2014-07-02T03:42:29Z",
    "updatedAt": "2016-12-21T10:12:25Z",
    "backlog": null
  },
  "postIds": [
    300,
    301
  ]
}

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).