I want to know the cause of Update shared link on file bad request
AnsweredI wrote the following source code.
But I get a bad reqest on updating the shared link.
Please tell me what is wrong.
Please tell me what is wrong.
box-node-sdk:3.6.0
try {
const appUserClient = sdk.getAppAuthClient('user', "1469068084");
await appUserClient.files.update("1579863908562" , { shared_link: {
permissions: {
can_preview: true,
can_download: false,
can_edit : false
}}});
} catch (error) {
console.log(error);
}
Please sign in to leave a comment.
Comments
1 comment