---
title: "Cancel envelope"
method: PUT
path: "/v1/accounts/{accountId}/envelopes/{envelopeId}/cancel"
tags: ["Envelopes"]
---

# Cancel envelope

`PUT /v1/accounts/{accountId}/envelopes/{envelopeId}/cancel`

## Request

- Base URL: `https://api.assinafy.com.br`
- URL: `https://api.assinafy.com.br/v1/accounts/{accountId}/envelopes/{envelopeId}/cancel`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

Cancels every document of the envelope that can still be cancelled, the way deleting a pending document cancels it: the owner, its signers and its copy receivers are told. A document already closed, one every signer has signed (its certification queued), or one being certificated, is left as it is. A notice that fails doesn't stop the other documents. Safe to repeat: a second call cancels nothing and answers each document's status.

[Copy as Markdown](https://api.assinafy.com.br/v1/docs/markdown?method=put&path=%2Fv1%2Faccounts%2F%7BaccountId%7D%2Fenvelopes%2F%7BenvelopeId%7D%2Fcancel) [Open in ChatGPT](https://chatgpt.com/?q=Read%20the%20API%20documentation%20at%20https%3A%2F%2Fapi.assinafy.com.br%2Fv1%2Fdocs%2Fmarkdown%3Fmethod%3Dput%26path%3D%252Fv1%252Faccounts%252F%257BaccountId%257D%252Fenvelopes%252F%257BenvelopeId%257D%252Fcancel%20and%20help%20me%20integrate%20this%20endpoint.) [Open in Claude](https://claude.ai/new?q=Read%20the%20API%20documentation%20at%20https%3A%2F%2Fapi.assinafy.com.br%2Fv1%2Fdocs%2Fmarkdown%3Fmethod%3Dput%26path%3D%252Fv1%252Faccounts%252F%257BaccountId%257D%252Fenvelopes%252F%257BenvelopeId%257D%252Fcancel%20and%20help%20me%20integrate%20this%20endpoint.)

## Path parameters

- `accountId` string, required
- `envelopeId` string, required

## Response `200`

What happened to each document, in the envelope's order

- object: Standard success wrapper. Operations add their own `data`.
  - `status` integer: HTTP status code, mirrored in the body.
  - `message` string: Human-readable message; empty on success.
  - `data` object[]
    - `id` string, required
    - `status` string, required: The document's status after the call.
    - `cancelled` boolean, required: Whether this call cancelled it.

## Other responses

- `401`: Missing or invalid credentials.
- `403`: An OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
- `404`: The requested resource does not exist.
- `500`: Unexpected server error.

## Changes

- **2026-11-11** `f4fa0790d9f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/assinafy/apis/assinafy-api-reference/changes/v1/accounts/:accountId/envelopes/:envelopeId/cancel/put.md)

---

[API](https://skmtc.dev/assinafy/apis/assinafy-api-reference.md) - [All operations](https://skmtc.dev/assinafy/apis/assinafy-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/assinafy/apis/assinafy-api-reference/revisions/afcdb904d0bf?raw)
