Available since version: 1.8
This function allows you to delete information about one or several mediatypes. All mediatype-related information will be removed including triggers, empty graphs, child mediatypes, historical data.
Array of Mediatype IDs
Parameter | Description |
---|---|
result | Operation successful. Result will contain array of deleted Mediatype IDs. |
error | In case of any errors |
Delete mediatypes by mediatype ID
{
"jsonrpc": "2.0",
"method": "mediatype.delete",
"params": ["107824", "107825"],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 2
}
Mediatypes deleted successfully:
Mediatypes do not exist: