remove_media
Remove a photo or video. Default is a soft delete: it takes the item off the storefront and out of posts (sets showOnWebsite=false and showOnSocial=false; the row stays, undo with update_media). To keep an item for posts but off the storefront, use update_media with showOnWebsite=false instead. Pass hard=true to delete the row permanently. Refused with code MEDIA_IN_UNSENT_POST while a post that is about to go out uses the item: remove it from that post, or wait until it goes out.
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": {
"mediaId": "<mediaId>",
"type": "<type>",
"proAccessToken": "<proAccessToken>"
},
"name": "remove_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hard | No | ||
| type | Yes | ||
| mediaId | Yes | ||
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |