---
title: "Void an e-signature envelope"
---

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

# Void an e-signature envelope

Path: CloudRaker Paperwork API › Runs

`POST /v1/runs/{id}/void`

Cancels a pending signature envelope for good.

Every outstanding signing link stops working immediately and the run terminates as failed. Pass an optional `{ "reason": "…" }` to record why in the [audit trail](https://docs.cloudraker.com/paperwork/api/runs/get-run-audit-trail).

Answers `409` once the envelope is finalizing or already completed — a signed document cannot be un-signed.

**Learn more:** [E-signature guide](https://docs.cloudraker.com/paperwork/capabilities/sign)

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

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

## Request body

_Optional._

- `reason` (`voidRunEnvelope.reason`; string, optional) — Recorded on the audit trail.

## Example request

```json
{
  "reason": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/v1/runs/<id>/void' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/runs/<id>/void';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({reason: 'string'})
};

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/runs/<id>/void"

payload = { "reason": "string" }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Void an e-signature envelope

#### Example

```json
{
  "voided": true
}
```

- `voided` (`voidRunEnvelope.response.200.voided`; boolean, required)

### 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` (`voidRunEnvelope.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`voidRunEnvelope.response.429.message`; string, required)
- `retryable` (`voidRunEnvelope.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`voidRunEnvelope.response.429.requestId`; string, required)
- `docUrl` (`voidRunEnvelope.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/runs/void-run-envelope/index.md
