Delete asset
swebsy_delete_assetDeletes a managed asset from the open site's asset gallery, refusing in-use assets unless force is set to clear live references.
Instructions
Delete one managed asset from the open site's asset gallery. By default this refuses assets referenced by any page, shared symbol, style, or site setting; call swebsy_list_assets first. force:true also clears live component references and should be used only when that is explicitly intended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Allow deleting an in-use asset and clearing its live references. Default false. | |
| assetId | Yes | Managed asset ID returned by swebsy_list_assets. |