# Cancel delivery

Our cancel delivery request can be used to cancel deliveries within your system.

&#x20;

You can use the POST or DELETE method to send the request to your cancel endpoint.

&#x20;

If you use the POST method, you can include a request body if it is required by your endpoint, if it is not required you can leave the body empty.

<figure><img src="/files/E24jKIm5zorX70yF2RiL" alt=""><figcaption></figcaption></figure>


---

# 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.zapiet.com/last-mile-api/cancel-delivery.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.
