---
title: "AutomationClient.delete"
description: "Delete an automation by object or ID."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# AutomationClient.delete

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

```python
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**

type: AutomationPrototype | UUID | str

required: true

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

**cancel_jobs**

type: bool

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

## Returns

`None`

<h2 id="request-example">Usage example</h2>

```python
client.automations().delete(
    automation, cancel_jobs=True
)
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.workflows/AutomationClient.delete/index.mdx
