---
title: "Update Scene Endpoint"
method: PATCH
path: "/scenes/{scene_id}"
tags: ["scenes"]
---

# Update Scene Endpoint

`PATCH /scenes/{scene_id}`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/scenes/{scene_id}`
- Auth: HTTP bearer

Save the user's edits and added layers on a scene.

## Path parameters

- `scene_id` string, required

## Request body

- UpdateSceneRequest: The user's side of a scene: `edits` maps a generated layer's id (or "scene") to the fields they changed on it; `layers` are the layers they added.
  - `edits` object, required
  - `layers` object[], required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
