# Delete Post

**Endpoint:**

```
DELETE https://app.marketingblocks.ai/api/v1/social-sparks/delete-post/{postId}
```

This endpoint deletes a specific post from the **Social Sparks** platform using its unique **postId**.\
\
Requires the **`social-delete-post`** permission.

***

### Authentication

**Type:** Bearer Token

```
Authorization: Bearer <token>
```

***

### Path Parameters

| Parameter | Type   | Required | Description                              | Example |
| --------- | ------ | -------- | ---------------------------------------- | ------- |
| `postId`  | string | yes      | Unique identifier of the post to delete. | `1223`  |

***

### Example Request

**cURL**

```bash
curl --location --request DELETE \
'https://app.marketingblocks.ai/api/v1/social-sparks/delete-post/1223' \
--header 'Authorization: Bearer <token>'
```

**Plain URL**

```
DELETE https://app.marketingblocks.ai/api/v1/social-sparks/delete-post/1223
```

***

### Response Structure

The response is a JSON object containing:

| Field     | Type    | Description                                                           |
| --------- | ------- | --------------------------------------------------------------------- |
| `message` | string  | Optional message about the request (may be empty or contain details). |
| `status`  | boolean | Indicates whether the deletion was successful (`true` if successful). |

***

### Example Response

```json
{
  "message": "Post deletion initiated successfully.",
  "status": true
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.marketingblocks.ai/agentic-ai-docs/api-reference/social-growth-engine/post-publishing-and-schedule/delete-post.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
