Delete Asset
sirv_delete_assetMoves a single library asset to the trash for soft deletion, allowing later restoration. Use it for one asset at a time, not bulk operations or CDN files.
Instructions
Move one library asset to the trash (soft delete). It can be restored: in Studio, or with sirv_bulk_edit_assets and the restore operation.
Use it for one asset. Do not use it for many assets (use sirv_bulk_edit_assets) or for a file in the connected Sirv account (use sirv_cdn_manage_file).
Input: id, the asset id from sirv_list_assets.
Returns the asset id.
Credits: free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "sirv_delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the asset to move to the trash, from sirv_list_assets | |
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to |