> For the complete documentation index, see [llms.txt](https://anunzi-ai.gitbook.io/anunzi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anunzi-ai.gitbook.io/anunzi-docs/api-widgets/trabajar-con-la-api-de-llamadas/actions/delete-action.md).

# Eliminar acción

**DELETE**\
`https://api.anunzi.net/v2/actions/{action_id}`

Deletes an existing custom action from your Anunzi environment. This action is irreversible.

***

#### **Path Parameters**

| Parameter   | Type   | Required | Description                                                                                                |
| ----------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------- |
| `action_id` | string | Yes      | The unique ID of the action to delete. This can be obtained by opening the action in the Anunzi dashboard. |

***

#### **Example Request (cURL)**

```bash
curl --request DELETE \
     --url https://api.anunzi.net/v2/actions/12315165x215651561 \
     --header 'accept: application/json' \
     --header 'Authorization: Bearer API_KEY'
```

***

#### **Example Response (200 OK)**

```json
{
  "status": "success",
  "response": {
    "answer": "Action deleted."
  }
}
```

***

#### **Status Codes**

| Code | Description                                 |
| ---- | ------------------------------------------- |
| 200  | Action deleted successfully.                |
| 400  | Bad Request. Invalid or missing parameters. |
