---
title: "Patch Deployment"
method: PATCH
path: "/v2/deployments/{deployment_id}"
tags: ["Deployments"]
---

# Patch Deployment

`PATCH /v2/deployments/{deployment_id}`

Apply a [JSON Patch](https://jsonpatch.com/) array to the deployment document.

Send the `ETag` from GET as `If-Match` for optimistic concurrency.

## Path parameters

- `deployment_id` string, required

## Headers

- `If-Match` string

## Request body

- object[]

## Response `200`

Updated deployment

- Deployment — A managed deployment. See [Deployments overview](/sections/deployments/overview).
  - `deployment_id` string
  - `pal_id` string — PAL that powers the deployment.
  - `channel` 'widget' | 'embed' | 'landing-page'
  - `status` 'draft' | 'active' | 'inactive'
  - `name` string
  - `has_password` boolean
  - `customization` object
  - `replica_thumbnail_video_url` string, nullable — **Removed.** Use `thumbnail_video_url` and `thumbnail_image_url` instead.
  - `thumbnail_video_url` string, nullable — URL for the face preview video thumbnail.
  - `thumbnail_image_url` string, nullable — URL for the face preview image thumbnail.
  - `limits` object
  - `allowed_origins` string[]
  - `usage_total` integer
  - `usage_today` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — UNAUTHORIZED
- `404` — Not Found
- `422` — Invalid JSON Patch

---

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