Delete Theme Customization
Delete a theme customization block by id. The block's associated storage directory (any uploaded slide images / service icons) is wiped along with the row.
The mutation returns a snapshot of the deleted block, so you can read back its _id and scalar fields. The per-locale translations are no longer available after deletion.
Operation
| Operation | Type | Purpose |
|---|---|---|
deleteAdminSettingsTheme | Mutation | Delete one theme customization block |
Input
| Field | Type | Required | Purpose |
|---|---|---|---|
id | ID | yes | The resource IRI of the block to delete. |
Notes
- The returned node is an in-memory snapshot of the just-deleted record — its scalar fields (
_id,name,type,status,channelId,themeCode) still resolve so you can confirm what was removed. The per-localetranslationscome back empty (the row is gone). - Select
messagefor the success confirmation — it resolves to"Theme customization deleted successfully."on a successful delete.messageisnullon read / list / create / update; a failed delete returns a top-levelerrors[]entry instead. - Do not select the node's IRI
idfield on this mutation — the IRI cannot be generated for a deleted record and the field resolves with anerrors[]entry. Select_idinstead, as shown. - Use the
adminSettingsThemesquery to discover valid ids.
Permission: settings.themes.delete. All operations require an admin Bearer token — see Authentication.

