asset_delete

Management

Delete 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

NameTypeRequiredDescription
asset_idsarrayAsset IDs to delete (one or many).
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput 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