Skip to Content
ScenebrewDevelopers
API referenceScenes

Update Scene

PATCH
/v1/scenes/{scene_id}

Rename, re-describe or re-theme a scene. Only the fields sent change; a scene keeps a theme, so theme_id: null is a 400 theme_required, and a draft theme is a 409 theme_draft. Requires the write scope.

Authorization

apiKey
AuthorizationBearer <token>

First-party API key (sbk_live_…), presented as a Bearer token.

In: header

Path Parameters

scene_id*Scene Id
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

What may be changed about a scene. Omitted fields stay as they are; a scene keeps a theme, so theme_id: null is a 400 theme_required.

Response Body

application/json

application/problem+json

curl -X PATCH "https://example.com/v1/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "slug": "string",  "name": "string",  "description": "string",  "workflow": "string",  "status": "string",  "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",  "triangle_count": 0,  "asset_count": 0,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}