Update post
Update a post
Update a post
Authorization
bearerAuth AuthorizationBearer <token>
JWT Bearer token authentication
In: header
Response Body
application/json
application/json
application/json
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"
}