delete_media_legacy
Deletes media by mediaId through the deprecated POST alias kept for backward compatibility; use DELETE /media/{mediaId} for new integrations.
Instructions
Deprecated. Use DELETE /media/{mediaId} instead.
This POST alias is kept for backward compatibility with earlier integrations.
New integrations should call DELETE /media/{mediaId}: 1msg follows REST
conventions for resource deletion going forward (delete a resource with the
DELETE verb on its resource path).
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>"
},
"name": "delete_media_legacy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes |