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

# Delete a scheduled post

`DELETE /posts/{id}`

## Request

- Base URL: `https://socialrobot.io/api/v1`
- URL: `https://socialrobot.io/api/v1/posts/{id}`
- Auth: API key in header `x-api-key`

Deletes a scheduled or draft post that belongs to the authenticated user.

## Path parameters

- `id` string, required: The post ID returned when the post was created

## Response `200`

Post deleted successfully

- object
  - `success` true, required

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `404`: Post not found
- `500`: Internal server error

---

[API](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api.md) · [All operations](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api/llms.txt) · [OpenAPI document](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api/revisions/c2e9cdf5e75e?raw)
