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
}
}
}

Hi @user90 ! :slight_smile:

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.

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.