shopify_delete_theme_files
Delete up to 50 files from a Shopify development theme while protecting main and release-candidate themes from mutation.
Instructions
Delete up to 50 files from a DEVELOPMENT theme. This operation currently fails closed before dispatch until Spring can durably retain a complete recovery snapshot before the provider boundary. UNPUBLISHED release candidates and MAIN themes are immutable (SHOPIFY_THEME_ROLE_PROTECTED).
Args:
theme_id (required): DEVELOPMENT theme ID (numeric or GID).
filenames (required): Exact filenames to delete (1-50 per call).
expected_preimage_sha256 (required): Exact governed get_theme lifecycle digest approved for deletion.
project_id: Authenticated Project UUID.
project_ref: Exact project correlation reference.
connector_account_ref: Project-bound connector account alias.
idempotency_key: Stable business-action identity.
effect: Claimed read or write effect; Spring verifies it.
approval_ref: Approved platform task UUID when resuming a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | No | ||
| theme_id | No | ||
| filenames | No | ||
| project_id | No | ||
| project_ref | No | ||
| approval_ref | No | ||
| idempotency_key | No | ||
| connector_account_ref | No | ||
| expected_preimage_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |