cURL
curl --request DELETE \ --url https://our-secret-api-url.com/post \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data '{ "id": 123 }'
{ "id": 123, "parentId": 123 }
Deletes a single post based on the ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key required for authentication
ID of the post to delete
Post deleted successfully
ID of the deleted post
ID of the parent post, if applicable