# Delete Generated Post

**Endpoint**

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

This endpoint allows you to delete a specific post generation by providing its unique identifier.

***

### Request

**Method:** `DELETE`\
**Authorization:** `Bearer <your_api_token>` (token must include `social-post-generation` permission)

#### Path Parameters

* **post\_id** *(string, required)* – The unique identifier of the post generation you want to delete.

***

### Response

On success, the API returns a JSON object:

```json
{
  "message": "Your post generation has been successfully deleted.",
  "status": true
}
```

* **message** *(string)* – Confirmation message of the deletion.
* **status** *(boolean)* – Indicates if the deletion was successful (`true`) or not (`false`).

***

### Example Request

```bash
curl --location --request DELETE \
'https://app.marketingblocks.ai/api/v1/social-sparks/delete-post-generation/842c8151-8f9d-4eab-ae81-6690730b8b02' \
--header 'Authorization: Bearer <your_api_token>'
```


---

# 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/content-creation/delete-generated-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.
