> **Source:** https://knowledge.leegality.com/document-execution/api/delete-pack > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # DELETE /v4/packs/{workflowRunContextId} — Delete pack :::info[Sandbox endpoint] **Authentication:** `X-Auth-Token` header required on every request. ## Request URL ``` DELETE https://app1.leegality.com/api/v4/packs/6f1c2a8e-9b3d-4f2a-8a1c-2b7e0d4f9a11 ``` **Environments:** - Production: `https://app1.leegality.com/api/v4/packs/{workflowRunContextId}` - Sandbox: `https://sandbox.leegality.com/api/v4/packs/{workflowRunContextId}` --- ## Parameters | Name | In | Required | Type | Description | Example | |------|----|----------|------|-------------|---------| | `workflowRunContextId` | path | Yes | string | Type: Path parameter The pack's `workflowRunContextId` — the UUID returned when the pack was created. This is **not** the `packId`. | `6f1c2a8e-9b3d-4f2a-8a1c-2b7e0d4f9a11` | --- ## Responses ### 200 — Pack deleted successfully. **Error codes** The request is rejected if any of the following applies: | Scenario | Status | Error code | | --- | --- | --- | | Missing or blank ID in the URL | 400 | `LE_ERR_AP_063` | | Pack not found, or belongs to a different organisation | 404 | `LE_ERR_AP_004` | | Expired token | 401 | `LE_ERR_AP_080` | | Missing token | 403 | `LE_ERR_AP_081` | | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `code` | string | No | Success code. | `LE_SUC_AP_000` | | `message` | string | No | Human-readable result message. | `Pack deleted successfully` | | `data` | object | No | Empty object. See **data** below. | `[object Object]` | #### data Empty object. | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| ### Sample Response (200) ```json { "code": "LE_SUC_AP_000", "message": "Pack deleted successfully", "data": {} } ```