KoenZomers / OneDriveAPI

API in .NET Framework 4.8.0, .NET Core 3.1 and .NET 6.0 to communicate with OneDrive Personal and OneDrive for Business
Eclipse Public License 1.0
109 stars 34 forks source link

Can sharing an item be revoked? #6

Closed paulvanbladel closed 6 years ago

paulvanbladel commented 6 years ago

Koen, Very nice Api and corresponding demo app. Just a quick question. Can a previous share of a document be revoked? Thanks a lot cheers paul.

KoenZomers commented 6 years ago

Hi @paulvanbladel. Thanks. Currently that's not possible, but the API behind it supports it I can see: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/permission_delete . I'll look into adding this to my API and will update this issue once done.

paulvanbladel commented 6 years ago

Hoi Koen, Thank you so much for the prompt feedback. (Remember, we met a few years ago in Leuven? :) )

I was just wondering if the API is .net core compatible?

Take care paul.

KoenZomers commented 6 years ago

Hi @paulvanbladel, you name sounds familiar to me indeed, but can't recall your face with the name to be honest. I see too many new faces every week I guess :) I haven't tried this API with .NET Core yet, so no idea if it would be compatible and if not, how much work it would cost to make it compatible.

KoenZomers commented 6 years ago

Hi @paulvanbladel, all methods to work with permissions amongst which revoking (sharing) permissions have been added to v2.0.2.0 of the API which is now available.

paulvanbladel commented 6 years ago

Cool. Thanks koen.