I am not getting restricted view for all sites , I have used SharePoint Custom API for setting new role permission. now I want restricted view for all the site, can we add permission through rest API ? Is there any API which provide add custom permission ? I do not want to do it manually . What will be my approach ? Kindly guide me
also in one section I have seen one solution , I have follow these steps as well "Per my test, you should activate SharePoint Server Enterprise Site features、SharePoint Server Standard Site features and SharePoint Server Publishing in the site features and site collection features. Then you will see 'Restricted View' permission level in the site permissions." - Restricted Read is coming. not restricted view.