This method allows to delete media.
This method is deprecated and will be removed in the future. Please use instead.
Parameters
Returns an object containing the IDs of the deleted media under the property.
Examples
Deleting multiple media
Delete two media.
Response:
- {
- "jsonrpc": "2.0",
- "result": {
- "mediaids": [
- "13"
- ]
- },
- "id": 1
- }
Source
CUser::deleteMedia() in frontends/php/include/classes/api/services/CUser.php.