Skip to main content

Share link file in API Reference

  • Sep 25, 2023 12:54 AM UTC
  • 2 replies
  • 365 views
  • Translate All
Share link file in API Reference

I have a problem when calling the share link files API with error code 403 and I don’t know what to do?
Here’s content bopy:
{
“shared_link”: {
“access”: “open”,
“password”: “mypassword”,
“unshared_at”: “2024-12-12T10:53:43-08:00”,
“permissions”: {
“can_download”: true,
“can_preview”: true
}
}
}

2 replies

CodeBoxSeb
  • Box Employee
  • Sep 25, 2023 8:18 AM UTC

Hi @user90 ! 🙂

In our logs, we see the error :

Enterprise+does+not+allow+modification+of+shared+link+expiration

You’d need to check your Enterprise Settings.
In the Admin Console, go to Enterprise Settings, and check if “Allow item owners and editors to modify the expiry date” is checked.

Translate

  • Author
  • New Participant
  • Oct 30, 2023 7:56 AM UTC

Hi, thank you. I has fixed that issue. But when I run in another account BOX
this issue show up. I don’t know why because I checked that the file exists and points to itself.

Translate