This method allows to delete images.

    This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See for more information.

    (object) Returns an object containing the IDs of the deleted images under the imageids property.

    Delete multiple images

    Delete two images.

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. "192"
    4. ]
    5. },
    6. }

    CImage::delete() in ui/include/classes/api/services/CImage.php.