Hi
Currently I want to use API to stop sharing a resource to a group like on this screenshot: click the cross button to remove a group from current resource.
@kyxyes in order to remove a permission you need to call the share endpoint. You basically resend the permission you want to delete with the "delete": true flag. For example:
(Edited from POST to PUT)
PUT /share/resource/<uuid_of_resource>.json?api-version=2
@remy Hi Thank you so much!
I tried POST but this method does not work for me, it returns 404 error.
But PUT method with the API url and the flag you gave me can successfully remove the shared resource.