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

# Delete automation

> Permanently delete a Famulor automation from your account.

This endpoint permanently deletes an automation. This cannot be undone — everything the automation did stops, and its definition is unrecoverable. If any of your assistants were attached to it, that attachment is cleared automatically so nothing keeps firing a deleted automation.

If you are deleting an automation to replace it and still want any of its current behavior, read it first with [Get automation](/en/api-reference/automations/get) and carry those steps into the replacement.

### Path Parameters

<ParamField path="id" type="string" required>
  The ID of the automation (from [List automations](/en/api-reference/automations/list))
</ParamField>

### Response

<ResponseField name="message" type="string">
  `Automation deleted successfully`
</ResponseField>

A missing automation — or one that does not belong to your account — returns a `404` with `{"message": "Automation not found"}`.

<ResponseExample>
  ```json 200 Response theme={null} theme={null}
  {
    "message": "Automation deleted successfully"
  }
  ```

  ```json 404 Not Found theme={null} theme={null}
  {
    "message": "Automation not found"
  }
  ```
</ResponseExample>

<Tip>
  Related pages: [List automations](/en/api-reference/automations/list), [Get automation](/en/api-reference/automations/get), and [Authentication](/en/api-reference/authentication).
</Tip>
