Skip to main content

I wrote the following source code.

But I get a bad reqest on updating the shared link.
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);

}




Be the first to reply!

Reply