# Cancel an envelope

```http
POST https://api.signapi.lumin.example/v1/envelopes/{envelopeId}/cancel
```

Stops an envelope that is in progress. Recipients can no longer act on it.

## Path parameters

| Name | Type | Required | Notes |
|---|---|---|---|
| `envelopeId` | string (uuid) | Yes |  |

## Request body

Content type `application/json`.

| Property | Type | Required | Notes |
|---|---|---|---|
| `reason` | string or null | No | 1 to 2000 characters. |


## Responses

### 200

Body: [`Envelope.Envelope`](https://docs.signapi.dev/schemas/Envelope.Envelope).

### 422

The request failed validation. The [problem body](https://docs.signapi.dev/errors) lists each problem in `errors`.

### 4xx

A client error, as an `application/problem+json` body. Its `type` links to the [error page](https://docs.signapi.dev/errors) for the code.

### 5xx

A server error, as an `application/problem+json` body. Retry with backoff.
