---
title: "Delete a scheduled post"
method: DELETE
path: "/delete-post/{postGroupId}"
tags: ["Posts"]
---

# Delete a scheduled post

`DELETE /delete-post/{postGroupId}`

Delete a post group and all associated data. This operation removes:
- The post group record
- All platform-specific posts (Twitter, LinkedIn, Instagram, etc.)
- All media file records from the database
- All media files from S3 storage

The database deletion is atomic (uses MongoDB transaction). S3 deletion
failures are logged but do not fail the request.

## Path parameters

- `postGroupId` string, required

## Headers

- `x-publora-user-id` string

## Response `200`

Post deleted

- object
  - `success` boolean

## Other responses

- `404` — Post group not found (ID doesn't exist or belongs to another user)
- `500` — Server error during deletion (transaction rolled back)

---

[API](https://skmtc.dev/publora/apis/publora-api.md) · [All operations](https://skmtc.dev/publora/apis/publora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/publora/publora-api/revisions/a1534a88d80a/schema)
