asset_delete
ManagementDelete Assets
Delete one or many assets. Accepts a single ID or an array of IDs.
Args:
- asset_ids: required — array of one or more asset IDs to delete
- team_id, project_id: required for OAuth callers
Returns: { deleted } array of the IDs that were deleted.
Example: "Delete these assets" -> asset_ids=["asset_1", "asset_2"]
destructiveopen-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| asset_ids | array | ✓ | Asset IDs to delete (one or many). |
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |
Example Request
JSON
{
"asset_ids": [
"asset_img001"
],
"team_id": "team_abc123",
"project_id": "proj_xyz789"
}Example Response
JSON
{
"deleted": "asset_img001"
}Common Use Cases
- Delete outdated or unwanted assets to keep the project clean