> ## Documentation Index
> Fetch the complete documentation index at: https://docs-old.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

**automation\_or\_id** `AutomationPrototype | UUID | str` *required*

Automation object, automation ID, or automation ID string to delete.

**cancel\_jobs** `bool`

Whether to cancel currently queued or running jobs for the automation. Defaults to `False`.

## Returns

`None`

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.