Write
trash_media
Batch move media items to the trash.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| outlineId | string | — | Outline ID. Defaults to your own outline. |
| mediaIds | array | Yes | Array of media IDs to trash. |
Response
| Field | Type | What it means |
|---|---|---|
| outlineId | string | Resolved outline ID. |
| results | array | Array of result objects with ok status. |
Example
Request
json
{
"mediaIds": ["media_123"]
}Response
json
{
"outlineId": "42",
"results": [{"mediaId": "media_123", "ok": true}]
}