---
title: "Purge a processing pipeline"
---

> 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.

# Purge a processing pipeline

Path: CloudRaker Paperwork API › Process

`DELETE /process/{id}`

Cancels any in-flight work and purges the files, runs and stored results.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `id` (`purgeProcess.path.id`; string, required)

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 204

Purged.

### 404

Unknown processing id.


Source: https://docs.cloudraker.com/paperwork/api/process/purge-process/index.md
