Skip to main content
Posts

Delete Post

Delete a post by its ID.

Endpoint

DELETE https://api.postpeer.dev/v1/posts/{postId}

Path Parameters

ParameterTypeDescription
postIdstringThe post ID to delete

Example

curl -X DELETE "https://api.postpeer.dev/v1/posts/post_abc123" \
  -H "x-access-key: YOUR_API_KEY"

Response

{
  "success": true
}

Status Codes

CodeMeaning
200Post deleted
404Post not found

On this page