media__delete
Deletes images, videos, or page placements from an App Store Connect app after verifying all IDs before the destructive write.
Instructions
Delete images or videos from an app’s asset library, or remove placements from a named page. File targets can delete owned assets where Apple offers DELETE. Verifies all IDs before any write. DESTRUCTIVE-level write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>",
"target": "<target>"
},
"name": "media__delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name, bundle ID or Apple ID. | |
| locale | No | Version locale, e.g. en-US. Omit on list to inspect all locales. | |
| target | Yes | Library, page, or a named image/file target. | |
| page_id | No | Page localization ID (retention: the message version ID), or the owning resource ID for an image/file target. | |
| version | No | Version string. Required if multiple versions match. | |
| file_ids | No | Image/file target: IDs to delete after app and parent ownership checks. | |
| platform | No | Required if multiple platforms match. | |
| asset_ids | No | Library target: file IDs to permanently delete. | |
| placement_ids | No | Page target: placement IDs to remove; the files remain in the library. |