Unlike message

Unlike a previously liked message.

Method

DELETE

URL

https://typetalk.com/api/v1/topics/:topicId/posts/:postId/like

Scope

topic.post

URL parameters

Name Type Description
topicId Number Topic ID
postId Number Post ID

Response Example

{
    "space": {
        "key": "xxxxxx",
        "name": "Awesome Tech Inc.",
        "enabled": true,
        "imageUrl": "https://apps.nulab.com/spaces/xxxxxxx/photo/large"
    },
    "like": {
        "id": 20050,
        "postId": 167373,
        "topicId": 4483,
        "comment": "",
        "account": {
            "id": 2500,
            "name": "Jessica",
            "fullName": "Jessica Lee",
            "suggestion": "Jessica Lee",
            "imageUrl": "https://typetalk.com/accounts/2500/profile_image.png?t=1454061730873",
            "isBot": false,
            "createdAt": "2016-01-27T09:55:35Z",
            "updatedAt": "2018-12-25T10:42:43Z"
        },
        "createdAt": "2018-11-27T23:51:44Z"
    }
}

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