API referenceInteractions
Unlike a post
DELETE
Removes the caller's like from a post they may read. Unliking a post that isn't liked changes nothing, so retries are safe. Returns the like count and whether the caller likes it.
AuthorizationBearer <token>
In: header
Path Parameters
postId*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/posts/post-1/like"{ "likeCount": 0, "viewerHasLiked": true}