---
title: "Update Pages"
method: PATCH
path: "/studio/templates/{templateId}/update-pages"
tags: ["Enterprise"]
---

# Update Pages

`PATCH /studio/templates/{templateId}/update-pages`

## Request

- Base URL: `https://api.orshot.com/v1`
- URL: `https://api.orshot.com/v1/studio/templates/{templateId}/update-pages`
- Auth: HTTP bearer

Add, duplicate, replace, edit, delete or reorder pages of a template without re-sending the whole design

Available only to Enterprise-plan workspaces and first-party clients.

## Path parameters

- `templateId` string, required

## Query parameters

- `includeThumbnails` boolean
- `includeVideoThumbnails` boolean

## Request body

- object
  - `operations` unknown[], required: 1 to 50 page operations, applied in order. See [Operations](#operations).
    - unknown
  - `allow_reindex` boolean: Required (`true`) when the operations change the number of any existing page: deleting a page that isn't the last, inserting or duplicating somewhere other than the end, or moving.
  - `base_updated_at` string: The template's `updated_at` from your last read. If the template changed since, nothing is written and you get `409`. Without it, operations apply to the latest version.
  - `embed_user_id` string: Assign the template to an embed user, same as [Update Template Modifications](/docs/api-reference/enterprise-update-modifications).

## Response `200`

Successful response

- object

## Other responses

- `400`: The request was malformed or a parameter was invalid.
- `401`: Authentication is required and was not supplied.
- `402`: The workspace has no credits left. Either the render needs credits it does not have, or the key was paused after repeatedly calling with none (`code: api_key_paused`). That one resumes by itself on the first request we can accept.
- `403`: The API key is missing, invalid, or not permitted to perform this action.
- `404`: The requested route or resource does not exist.
- `429`: The workspace rate limit was exceeded. Retry after the interval given by the Retry-After header.
- `500`: An unexpected error occurred on our side.

## Changes

- **2026-10-02** `c13487a944cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/orshot/apis/orshot-api/changes/studio/templates/:templateId/update-pages/patch.md)

---

[API](https://skmtc.dev/orshot/apis/orshot-api.md) - [All operations](https://skmtc.dev/orshot/apis/orshot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orshot/apis/orshot-api/revisions/1210d6bcbb90?raw)
