---
title: "Void Document"
description: "Cancels a signature document so it can no longer be signed, and records your reason in the audit trail. A document that is already voided or has expired cannot be voided."
url: "https://docs.turbodocx.com/docs/API/void-document"
---

# Void Document

> Cancels a signature document so it can no longer be signed, and records your reason in the audit trail. A document that is already voided or has expired cannot be voided.

`POST https://api.turbodocx.com/turbosign/documents/{documentId}/void`

```bash
curl -X POST "https://api.turbodocx.com/turbosign/documents/{documentId}/void" \
  -H "Authorization: Bearer $TURBODOCX_API_KEY" \
  -H "x-rapiddocx-org-id: $TURBODOCX_ORG_ID"
```

  Request

### Body (application/json)

- `reason` (string, required): Why the document is being voided. Recorded in the audit trail.

### Path parameters

- `documentId` (string, required): The signature document ID.

### Responses

#### 200

The document was voided.

```json
{
  "data": {
    "id": "4a20eca5-7944-430c-97d5-fcce4be24296",
    "name": "Service Agreement",
    "status": "voided",
    "voidReason": "Terms changed; a new version will be sent.",
    "voidedAt": "2026-01-17T09:12:00.000Z"
  }
}
```

#### 400

`reason` is missing or too long, or the document cannot be voided (`DocumentVoided`, `DocumentExpired`, `DocumentNotVoidable`).

```json
{
  "message": "There was an issue validating the body",
  "type": "ValidationError",
  "data": {
    "errors": [
      {
        "message": "Void reason is required",
        "path": [
          "reason"
        ],
        "type": "any.required",
        "context": {
          "label": "reason",
          "key": "reason"
        }
      }
    ]
  }
}
```

#### 401

Missing or invalid API key, or the organization ID header is missing or is not an organization the key belongs to. The response has no body.

#### 403

The key's role cannot void documents (viewers cannot). The response has no body.

#### 404

The document does not exist, was deleted, or belongs to another organization.

```json
{
  "error": "Document not found"
}
```

#### 500

An unexpected server error.

```json
{
  "error": "Failed to void document"
}
```
