> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yampi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Automation Rule

> Elimina una regla de automatización.

Requiere **userApiKey**. Errores: **401**, **404**.

<ParamField path="account_id" type="integer" required>ID de la cuenta.</ParamField>
<ParamField path="id" type="integer" required>ID de la regla.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://app.yampi.ai/api/v1/accounts/1/automation_rules/2' \
    -H 'api_access_token: TU_TOKEN' -H 'Content-Type: application/json'
  ```
</RequestExample>
