Move Flow media to the trash (two steps)
flow_trashMoves project media to Flow's trash, where it stays restorable. Previews items and returns a confirmation code first; call again with that code to complete the move.
Instructions
Moves project media to Flow's trash, where it can still be restored in Flow. Always two calls: first without confirmation, which only previews the items (title, type, what was made from them) and returns a confirmation code; show that list to the user and get their OK; then call again with the same media_ids and that code. The code only works for exactly the previewed set. To clean up repeated uploads use duplicateUploads from flow_assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_ids | Yes | ||
| project_id | Yes | ||
| confirmation | No | The code from the preview, after the user agreed |