Delete a post group
DELETE /public/v1/posts/group/{group}Deletes every post that shares a group id. This is the same deletion that delete a post performs, addressed directly by group instead of by one member’s post id.
Use this when you already know the group, for example from list posts, and want to skip the lookup.
The CLI has no command for it, and the MCP server has no tool for it.
Path parameters
Section titled “Path parameters”| Parameter | Required | Description |
|---|---|---|
group |
Yes | The group value on any post in the set. |
Request
Section titled “Request”curl -X DELETE https://dash.sharek.app/api/public/v1/posts/group/group-id \ -H "Authorization: your-api-key"Response
Section titled “Response”{ "id": "post-id" }The id is the id of the deleted group’s first post. A 200 with {"error": true}
means nothing matched that group.
- A group id that matches nothing still answers
200, with{"error": true}, verified against production on 2026-08-24. Deleting a group you already deleted answers200with itsidagain. This operation is safe to call more than once and safe in cleanup paths, which delete a post is not: deleting an unknown post id there returns a404. Prefer this one in anything that retries. - Each channel’s post has a group of its own, so one create a post call across three channels makes three groups. Undoing that call takes one delete per channel.