Delete post

Delete a posts

DELETE
/posts

Delete a posts

Authorization

bearerAuth
headerAuthorizationBearer <token>

JWT Bearer token authentication

Request Body

Delete post request body

application/json
  1. body
id*string

Response Body

Post deletion request accepted.

Example Request
curl -X DELETE 'http://localhost:8000/api/v1/posts' \  -H 'Content-Type: application/json' \  -d '{  "id": "string"}'
Example Response
Empty