# Delete Comment Automation

### Delete Comment Automation

Delete an existing comment automation bot by its ID.

Use this endpoint when you want to permanently remove a comment automation from your Social Growth Engine. Once deleted, the automation will stop responding to comments and cannot be recovered.

***

### Method

`DELETE`

### URL

```
https://app.marketingblocks.ai/api/v1/social-sparks/delete-comment-automation/{id}
```

Replace `{id}` with the ID of the comment automation bot you want to delete.

Example:

```
https://app.marketingblocks.ai/api/v1/social-sparks/delete-comment-automation/84
```

***

### Permission

`delete-comment-automation`

***

### Headers

```
Authorization: Bearer <token>
Content-Type: application/json
```

***

### Path Parameters

| Field | Type    | Required | Description                                |
| ----- | ------- | -------: | ------------------------------------------ |
| id    | integer |      Yes | ID of the comment automation bot to delete |

***

### Example Request

```bash
curl --location --request DELETE 'https://app.marketingblocks.ai/api/v1/social-sparks/delete-comment-automation/84' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
```

***

### Example Response

```json
{
  "message": "Comment bot deleted successfully",
  "status": true
}
```

***

### Response Fields

| Field   | Type    | Description                                                |
| ------- | ------- | ---------------------------------------------------------- |
| message | string  | Confirmation message indicating the automation was deleted |
| status  | boolean | Indicates whether the request was successful               |

***

### Notes

* This action is **permanent** and cannot be undone
* Ensure the `id` provided exists and belongs to your account
* The request token must include the `delete-comment-automation` permission
* This endpoint does not require a request body
* If the token is missing, expired, or does not include the required permission, the API returns `401 Unauthorized`


---

# 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/comment-automation/delete-comment-automation.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.
