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

# AutomationClient.delete

```python theme={"system"}
def AutomationClient.delete(
    automation_or_id: AutomationPrototype | UUID | str,
    cancel_jobs: bool = False,
) -> None
```

Delete an automation by object or ID.

## Parameters

<ParamField path="automation_or_id" type="AutomationPrototype | UUID | str" required>
  Automation object, automation ID, or automation ID string to delete.
</ParamField>

<ParamField path="cancel_jobs" type="bool">
  Whether to cancel currently queued or running jobs for the automation. Defaults to `False`.
</ParamField>

## Returns

`None`

<RequestExample>
  ```python Python theme={"system"}
  client.automations().delete(automation, cancel_jobs=True)
  ```
</RequestExample>
