---
title: "Delete an automation"
---

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

# Delete an automation

Path: CloudRaker Workspace API › Org Automations

`DELETE /organization/automations/{automationId}`

Deletes the automation and disarms it. Its fire history is left in place (it is the record of work that actually happened). Authorization: organization admin.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `automationId` (`deleteAutomation.path.automationId`; string, required)

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.cloudraker.com/organization/automations/<automationId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/organization/automations/<automationId>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/organization/automations/<automationId>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 204

Deleted.


Source: https://docs.cloudraker.com/workspace/api/org-automations/delete-automation/index.md
