# Delete Cargo

## &#x20;:book: Some background

Cargoes are loaded and discharged in cargo ports and these cargo ports are linked to the port calls you find in the voyages schedule.&#x20;

One port call can be linked to:&#x20;

* **no** cargo port - for port calls to Bunkering, Canal Passages etc.
* **one** cargo port - when loading/discharging one cargo
* **more than one** cargo port - when loading/discharging more than one cargo

  &#x20;

When deleting a cargo the link between the cargo ports and port calls will define what options you will see in the delete cargo window.

## :clipboard: The options

:one: When deleting a cargo which has cargo ports linked to a port calls which are linked to some other cargos cargo ports you will get a simple confirmation message before cargo is deleted as per below

![](/files/-M92fxI5QxVoFzn-njE6)

{% hint style="info" %}
The same confirmation message will always be shown for unallocated cargoes.
{% endhint %}

:two: When deleting a cargo which has cargo ports linked to port calls which are not linked to any other cargoes cargo port you will get option to also delete the linked port calls. This makes it easier to keep your schedule clean and correct.

![](/files/-M92gR1HOo1-G7LGh1m8)

{% hint style="info" %}
The **Timeline** shows the voyages schedule on the right side and the cargo ports of the cargo you are about to delete on the left side.
{% endhint %}

When ticking the checkbox <img src="/files/-M92h9paWKb_bKhr4tuJ" alt="" data-size="line"> the port calls marked in red will also be deleted from the schedule.

![](/files/-M92hQf2kOBlGXI2CZef)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dataloy.com/release-8.25/voyage-management-system/step-by-step-guides/cargoes/maintain-cargoes/cargo-drawer-actions/deleting-cargo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
