Remove from Shared list API

Dipika Das 141 Reputation points
2022-10-27T09:05:30.433+00:00

Hi,

I'm trying to implement the functionality "Remove from Shared list" same as Onedrive/Shared With Me section( check below image). I tried to find the api but I did not found any api that will meet my requirement.
Can anyone tell me is there any API or anyway to achieve this, it would be very helpful.

Thanks In Advance
254655-removesharedlist.png

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,846 Reputation points Microsoft External Staff
    2022-10-27T11:39:24.123+00:00

    Hi @Dipika Das ,

    Thanks for reaching Microsoft Q&A, Remove from Shared list is based on legacy DocumentSharingManager SharePoint REST API.

    Currently there is no equivalent Microsoft Graph API for Remove from Shared list.

    The only alternative is DELETE /drives/{remote-drive-id}/items/{item-id}/permissions/{perm-id} refer permission-delete.

    I recommend you submit a feature request in graph feedback portal, which will be monitored by Microsoft Product Engineering team and take up for implementation based on number of votes receieved and people requesting for this feature.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.