> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eazecustoms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deactivate an allocation

> Deactivate an allocation. Refused once a sent-or-later movement references it.

Deactivate an allocation. The request is refused once a sent-or-later movement references it.

### Path Parameters

<ParamField path="id" type="string" required>
  Shipment Public ID (`shp_…`).
</ParamField>

<ParamField path="allocationId" type="string" required>
  Allocation Public ID (`alc_…`).
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "allocationId": "alc_3f9a1c0e5b7d4e2f8a6c1b9d0e3f7a25",
    "shipmentId": "shp_3f9a1c0e5b7d4e2f8a6c1b9d0e3f7a25",
    "hawbId": "hawb_3f9a1c0e5b7d4e2f8a6c1b9d0e3f7a25",
    "source": "EXTERNAL",
    "declarationId": null,
    "declarationProcedureType": "H1",
    "customsDocumentType": "X",
    "customsDeclarationType": "IM",
    "customsDeclarationNumber": "26NL12345678901234",
    "packageCount": 4,
    "grossWeightKg": 40,
    "isActive": false,
    "createdAt": "2026-06-10T08:30:00.000Z",
    "updatedAt": "2026-06-10T10:00:00.000Z"
  }
  ```
</ResponseExample>
