Unfollow newsletter

POST /newsletter/unfollow
application/json

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
POST /newsletter/unfollow
curl \
 -X POST http://localhost:3000/newsletter/unfollow \
 -H "Content-Type: application/json" \
 -d '{"newsletter_id":"120363024512399999@newsletter"}'
Request examples
{
  "newsletter_id": "120363024512399999@newsletter"
}
Response examples (200)
{
  "code": "SUCCESS",
  "message": "Success",
  "results": "string"
}
Response examples (400)
{
  "code": 400,
  "message": "field cannot be blank",
  "results": {}
}
Response examples (500)
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "you are not loggin",
  "results": {}
}