Unlike a post

DELETE /platform/posts/{post}/like

Path parameters

  • post integer Required

    The post id

Responses

  • 200 application/json

    Post unliked successfully

    Hide response attribute Show response attribute object
    • message string
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The post does not exist

DELETE /platform/posts/{post}/like
curl \
 --request DELETE 'https://domain.tld/api/v2/platform/posts/{post}/like' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "Post unliked successfully"
}
Response examples (401)
{
  "message": "Unauthorized."
}