---
title: "Cancel deployment request"
method: POST
path: "/deploymentQueue/{deploymentRequestId}/cancelDeployment"
tags: ["Deployment Queue Actions"]
---

# Cancel deployment request

`POST /deploymentQueue/{deploymentRequestId}/cancelDeployment`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/deploymentQueue/{deploymentRequestId}/cancelDeployment`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/deploymentQueue/:deploymentRequestId/cancelDeployment/post.ts> (a function with typed inputs; its response is checked against the schema)

Cancel the a deployment request.

## Request body

- object

## Response `202`

deployment request cancelling has been requested

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found
- `409`: Deployment request is already cancelled or an operation is in progress

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
