Update post

Update a post

PATCH
/posts
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Response Body

curl -X PATCH "http://localhost:8000/api/v1/posts"
Empty
{
  "message": "You do not have permission to perform this action.",
  "code": "NOT_ENOUGH_PERMISSION"
}
{
  "message": "Post not found",
  "code": "POST_NOT_FOUND"
}
{
  "message": "Something went wrong!",
  "code": "SERVER_ERROR"
}