Hello -
I am using the API to upload a document and then create a shared link. I am using the enterprise auth token for both operations. The file is uploaded fine, but when I try to create the shared link, I get the following message.
"status":403,"code":"access_denied_insufficient_permissions"
I thought maybe I could only create the shared link with an app user, so I created an app user, assigned it editor permission to the file, and then tried to create the link and I get the same error.
Here is the shared link object that I passing to the routine...
var shared_link = new
{
shared_link = new
{
access = "open",
password = "null"
}
};
Any help would be appreciated.
Thanks!