---
title: "Cancel"
method: POST
path: "/deployments/{uuid}/cancel"
tags: ["Deployments"]
---

# Cancel

`POST /deployments/{uuid}/cancel`

Cancel a deployment by UUID.

## Path parameters

- `uuid` string, required

## Response `200`

Deployment cancelled successfully.

- object
  - `message` string
  - `deployment_uuid` string
  - `status` string

## Other responses

- `400` — Deployment cannot be cancelled (already finished/failed/cancelled).
- `401` — Unauthenticated.
- `403` — User doesn't have permission to cancel this deployment.
- `404` — Resource not found.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/versions/08be5dc8e729/schema)
