Delete topic

Method

DELETE

URL

https://typetalk.com/api/v1/topics/:topicId

Scope

topic.delete

URL parameters

Name Type Description
topicId Number Topic ID

Response Example

{
  "id": 223,
  "name": "Update test topic",
  "description": "Test topic description",
  "suggestion": "Update test topic",
  "isDirectMessage": false,
  "lastPostedAt": null,
  "createdAt": "2016-12-21T10:12:14Z",
  "updatedAt": "2016-12-21T10:12:15Z"
}

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