---
title: "close a deployment request after a successful merge"
method: POST
path: "/w/{workspace}/deployment_request/{id}/close_merged"
tags: ["workspace"]
---

# close a deployment request after a successful merge

`POST /w/{workspace}/deployment_request/{id}/close_merged`

Called by the UI after the deploy loop completes. Closes the request and marks every comment obsolete. Idempotent.

## Path parameters

- `workspace` string, required
- `id` integer, required

## Response `200`

closed

---

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