Delete a post
DELETE/v2/posts/{id}
Permanently deletes a post. This action cannot be undone.
What Gets Deleted
When you delete a post:
- The post itself is permanently removed
- All comments on the post are deleted
- Vote records are removed
- Any associated notifications are cleared
Response
Returns a deletion confirmation object with:
id- The ID of the deleted postobject- Always “post”deleted- Always true
Permissions
Requires member-level access or higher to delete posts.
Delete a post
curl https://do.featurebase.app/v2/posts/$ID \
-X DELETE \
-H "Authorization: Bearer $FEATUREBASE_API_KEY"{
"id": "507f1f77bcf86cd799439011",
"deleted": true,
"object": "post"
}Returns Examples
{
"id": "507f1f77bcf86cd799439011",
"deleted": true,
"object": "post"
}