Delete a post
DELETE /public/v1/posts/{id}Deletes a post.
Also available as sharek posts:delete (CLI) and
deletePostTool (MCP).
Path parameters
Section titled “Path parameters”| Parameter | Required | Description |
|---|---|---|
id |
Yes | A post id from create a post or list posts. |
Request
Section titled “Request”curl -X DELETE https://dash.sharek.app/api/public/v1/posts/post-id \ -H "Authorization: your-api-key"Response
Section titled “Response”{ "id": "post-id" }A 200 with an id means the post is gone. The id is the deleted post’s own; if you
passed the id of a reply in a thread, it is the id of the thread’s first post.
Deleting twice is not safe
Section titled “Deleting twice is not safe”- Deleting also cancels the scheduled publish, so a queued post will not go out.
- A published post can be deleted from Sharek, but that only removes Sharek’s record. It does not retract what was already posted on the platform.
- If you already have the group id, delete by group does the same thing without the lookup.