---
title: "Delete Deployment"
method: DELETE
path: "/agents/{agent_id}/deployments/{deployment_id}"
tags: ["Deployments"]
---

# Delete Deployment

`DELETE /agents/{agent_id}/deployments/{deployment_id}`

Delete a non-production deployment.

## Path parameters

- `deployment_id` string, required
- `agent_id` string, required

## Response `200`

Successful Response

- DeleteResponse
  - `id` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.dev/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/revisions/1e0aaafd5780/schema)
