Skip to Content
ScenebrewDevelopers
API referenceLibrary

Delete Theme

DELETE
/v1/themes/{entity_id}

Delete a theme. Requires the write scope. A theme that scenes still use — trashed ones included — is a 409 theme_in_use naming scene_count and trashed_scene_count: move those scenes to another theme or delete them first. A trashed scene holds its theme until it is purged, 30 days after its delete, unless it is restored and moved.

Authorization

apiKey
AuthorizationBearer <token>

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

In: header

Path Parameters

entity_id*Entity Id
Formatuuid

Response Body

application/problem+json

curl -X DELETE "https://example.com/v1/themes/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty