DELETE /api/messages/:message_id/likes/:likes_id

unlike a message

DELETE /api/messages/:message_id/comments/:comment_id/likes/:comment_id/likes/:likes_id

unlike a comment

Success Response Code: 204

Params

Param name Description
message_id
required

id for message


Value: Must be a Integer
comment_id
optional

id for comment


Value: Must be a Integer
like_id
required

id of the like to remove


Value: Must be a Integer

Example Curl Commands

curl -X DELETE -v --basic -u "emily@socialcast.com:demo" https://demo.socialcast.com/api/messages/407/likes/48
curl -X DELETE -v --basic -u "emily@socialcast.com:demo" https://demo.socialcast.com/api/messages/407/comments/66/likes/63

Examples

DELETE /api/messages/40/comments/2/likes/3.json
{}
204