---
title: "Delete a deployment by its ID."
method: DELETE
path: "/v3/deployments/{id}"
tags: ["Deployments"]
---

# Delete a deployment by its ID.

`DELETE /v3/deployments/{id}`

This endpoint doesn't clear the version number of messages already annotated with this deployment version.<br/><br/>Required permission: `deployments_delete`

## Path parameters

- `id` string, required

## Response `204`

Deployment was deleted.

## Other responses

- `400` — Id not specified.
- `401` — API key not valid or no access to resource.
- `402` — Tried to call the deployment API without deployment tracking enabled or trial expired.
- `404` — Deployment with specified id not found.
- `429` — A maximum of 500 requests per minute and 3600 requests per hour are permitted

---

[API](https://skmtc.net/elmah/apis/elmah-io-api.md) · [All operations](https://skmtc.net/elmah/apis/elmah-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elmah/elmah-io-api/versions/8e9c6e56e4fa/schema)
