'Delete the media info table cache for a specific library.
Required parameters:
section_id (str):       The id of the Plex library section
Optional parameters:
None
Returns:
None'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi()
def delete_datatable_media_info_cache(self, section_id, **kwargs):

    get_file_sizes_hold = plexpy.CONFIG.GET_FILE_SIZES_HOLD
    section_ids = set(get_file_sizes_hold['section_ids'])
    if (section_id not in section_ids):
        if section_id:
            library_data = libraries.Libraries()
            delete_row = library_data.delete_datatable_media_info_cache(section_id=section_id)
            if delete_row:
                return {'message': delete_row}
        else:
            return {'message': 'no    data    received'}
    else:
        return {'message': 'Cannot    refresh    library    while    getting    file    sizes.'}
