cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

For create shared link API which business account supports advanced settings like password?

For create shared link API which business account supports advanced settings like password?

Akshata
Explorer | Level 4

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

3 Replies 3

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

Akshata
Explorer | 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.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Akshata Explorer | Level 4
What do Dropbox user levels mean?