---
title: "Remove a deployment that was never installed"
method: DELETE
path: "/v1/managed-deployments/{deploymentId}"
tags: ["Managed deployments"]
---

# Remove a deployment that was never installed

`DELETE /v1/managed-deployments/{deploymentId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/managed-deployments/{deploymentId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Deletes a deployment record that never reached the customer's cloud. Installed deployments stay tracked and answer 409.

## Path parameters

- `deploymentId` string, uuid, required

## Response `200`

Remove a deployment that was never installed

- object
  - `ok` true, required

## Other responses

- `400`: Invalid input.
- `401`: Authentication required.
- `403`: Owner or super-admin approval required.
- `404`: Deployment or feature unavailable.
- `409`: The deployment cannot accept this operation now.
- `429`: Too many attempts.
- `503`: No installer release is configured.

## Changes

- **2026-10-09** `cc8a41bb846e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/managed-deployments/:deploymentId/delete.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
