One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Akshata
8 years agoExplorer | Level 4
For create shared link API which business account supports advanced settings like password?
Hi,
In API it is said that creating shared link with visibility other than public and setting expiry date is not supported for Basic users.
Could anyone please tell which accounts support these options?
What are the steps to be followed in order to get these access?
Thanks in advance,
Akshata
- Greg-DB
Dropbox Staff
This feature is available to Pro and Business plans. You can check the plan for the linked account by calling /2/users/get_current_account and checking the account_type in the response:
https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account
Users can compare the different plans and upgrade here:
https://www.dropbox.com/plans?trigger=nr- AkshataExplorer | Level 4
Thanks Greg.
I checked type of my account its a pro account and iam sending below request:
{ "path": "/Level1/Level2/Level3.txt", "settings": { "requested_visibility": "password", "link_password": "abc", "expires": "2017-12-15T15:50:38Z" } }
Still the endpoint gives below error:
{ "error_summary": "settings_error/not_authorized/", "error": { ".tag": "settings_error", "settings_error": { ".tag": "not_authorized" } } }
What could be the reason for such behavior?
And if the Pro account expires does it still give the account_type as 'pro' by any chance?
Please guide me one this.
Thanks,
Akshata
- Greg-DB
Dropbox Staff
If the user's Pro plan has ended, the information returned by /2/users/get_current_account should contain the new value.
If that doesn't seem to be the case for you, please share the output of /2/users/get_current_account as well as a screenshot showing the Pro plan has ended, e.g., from the web site.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!