---
title: "Delete a deployment"
method: DELETE
path: "/projects/{projectId}/endpoints/{endpointId}/deployments/{id}"
tags: ["DeploymentService"]
---

# Delete a deployment

`DELETE /projects/{projectId}/endpoints/{endpointId}/deployments/{id}`

Permanently deletes a deployment from its endpoint. Remove the deployment from live traffic first; use `etag` to reject the request if it changed after it was read.

## Path parameters

- `projectId` string, required — Project identifier.
- `endpointId` string, required — Endpoint identifier.
- `id` string, required — Deployment identifier.

## Query parameters

- `etag` string — Etag for optimistic concurrency. If set, the delete is rejected if the current etag does not match.

## Response `200`

OK

- DEDeleteResponse — Empty response returned after a successful delete operation.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/together/apis/together-apis.md) · [All operations](https://skmtc.net/together/apis/together-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/together/together-apis/revisions/f26a23fab8e0/schema)
