Posts
Delete Post
Delete a post by its ID.
Endpoint
DELETE https://api.postpeer.dev/v1/posts/{postId}Path Parameters
| Parameter | Type | Description |
|---|---|---|
postId | string | The 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
| Code | Meaning |
|---|---|
200 | Post deleted |
404 | Post not found |