# Delete Shipment

## /shipments

<mark style="color:red;">`DELETE`</mark> `https://api.terminal.africa/v1/shipments`

This endpoint allows you to delete a draft shipment.

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Set value to `Bearer SECRET_KEY` |
| Content-Type<mark style="color:red;">\*</mark>  | string | Set value to `application/json`  |

#### Request Body

| Name                                           | Type   | Description            |
| ---------------------------------------------- | ------ | ---------------------- |
| shipment\_id<mark style="color:red;">\*</mark> | string | Unique id of shipment. |

{% tabs %}
{% tab title="200 Shipment deleted successfully." %}

```
{
	status: true,
	message: 'Shipment deleted successfully',
	data: null
}
```

{% endtab %}
{% endtabs %}


---

# 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.terminal.africa/tship/shipment/create-shipment-1.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.
