delete_asset
mutationSince v1.0Delete an asset. This also removes the stored file and takes the asset off any diagrams it was placed on. It can be undone from version history. Applied immediately.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
asset_id | String | ✓ | The asset to delete. |
Example Request
{"asset_id": "7b12..."}Example Response
{"success": true, "operation_count": 1, "versions": [67]}This content was written collaboratively with AI.