[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [cancelExportMaterial](./bitburner.warehouseapi.cancelexportmaterial.md)
## WarehouseAPI.cancelExportMaterial() method
Cancel material export
Signature:
```typescript
cancelExportMaterial(
sourceDivision: string,
sourceCity: string,
targetDivision: string,
targetCity: string,
materialName: string,
amt: number,
): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sourceDivision | string | Source division |
| sourceCity | string | Source city |
| targetDivision | string | Target division |
| targetCity | string | Target city |
| materialName | string | Name of the material |
| amt | number | Amount of material to export. |
Returns:
void