---
title: "Delete a saved action"
---

> 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 a saved action

> **Deprecated.**

Path: CloudRaker Paperwork API › Actions

`DELETE /v1/actions/{idOrSlug}`

Removes a saved action from your organization.

Runs that already referenced it keep the configuration they were created with — the config is snapshotted onto each run, so deleting the action never rewrites history.

**Deprecated:** saved actions are becoming per-capability configs — use `POST/GET/PATCH/DELETE /v1/{capability}/configs` instead (`/v1/extract/configs`, `/v1/redact/configs`, `/v1/fill/configs`). Signing keeps using `POST /v1/sign`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `idOrSlug` (`deleteAction.path.idOrSlug`; string, required)
  - minLength 1

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.cloudraker.com/v1/actions/<idOrSlug>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/actions/<idOrSlug>';
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/v1/actions/<idOrSlug>"

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

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

print(response.text)
```

## Responses

### 204

Deleted.

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`deleteAction.response.400.success`; boolean, required)
  - one of `false`
- `error` (`deleteAction.response.400.error`; array<unknown>, required)
- `data` (`deleteAction.response.400.data`; unknown, required)

### 404

Unknown action id or slug.

### 409

The action is a default install and cannot be deleted (relayed from the action library).

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`deleteAction.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`deleteAction.response.429.message`; string, required)
- `retryable` (`deleteAction.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`deleteAction.response.429.requestId`; string, required)
- `docUrl` (`deleteAction.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/actions/delete-action/index.md
