.NET SDK - Can't remove shared link password (password = null)
Hello!
I'm want to achieve remove the shared link password, but it's not going very well.
Even if you set "Password = null", it will not be reflected.
It seems that "IsPasswordEnabled" can’t be changed to "false".
// sample
var sharedLinkRequest = new BoxSharedLinkRequest
{
UnsharedAt = null, // result:OK
Password = null // result:NG
};
var folderRequest = new BoxFolderRequest
{
Id = "012345678", // The folder ID where the shared link password is set.
SharedLink = sharedLinkRequest
};
BoxFolder folder = await client.FoldersManager.UpdateInformationAsync(folderRequest);
Thanks for help.
サインインしてコメントを残してください。
コメント
0件のコメント