> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Finalize deployment"
description: "Finalize deployment"
api: "POST /api/v0/deployments/{deploymentId}/finalize"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X POST "https://api.example.com/api/v0/deployments/<deploymentId>/finalize"
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"post","path":"/api/v0/deployments/{deploymentId}/finalize","summary":"Finalize deployment","parameters":[{"name":"deploymentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["url","deploymentId","branch"],"properties":{"url":{"type":"string"},"deploymentId":{"type":"string"},"branch":{"type":"string"}}},"examples":[]},{"status":"default","description":"","examples":[]}],"security":[],"servers":[]}} />
