---
title: "Cancel a delivery job"
method: POST
path: "/{aplicationId}/delivery-jobs/{deliveryJobId}/cancellations"
---

# Cancel a delivery job

`POST /{aplicationId}/delivery-jobs/{deliveryJobId}/cancellations`

This endpoint is used to cancel a delivery job that is no longer required ensuring that unnecessary delivery jobs are promptly canceled.

## Path parameters

- `aplicationId` string, required
- `deliveryJobId` string, required

## Request body

- DeliveryCancel
  - `cancellationReason` string — A descriptive reason for why the delivery job is being canceled. This information can be used for tracking and reporting purposes (e.g., "Customer request", "Driver unavailable", or "Invalid address").
  - `cancelledAt` string — A timestamp indicating when the cancellation occurred. The format should follow ISO 8601 standards (e.g., 2025-01-29T10:30:00Z). If not provided, the system may use the current timestamp as the default value.

## Response `204`

Delivery job canceled successfully

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/versions/21688b6dcb69/schema)
