cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

How to setup expire of shareable url for dropbox resource?

How to setup expire of shareable url for dropbox resource?

mike k.24
New member | Level 1

Is there a way to setup expiration time of URL at Dropbox?
I'm using DbxClientV1 to create a URL.

DbxClientV1 client;
client.createShareableUrl("/RVAdata/test/test/Daily_Summary_Reports/Modified.pdf"));
DbxUrlWithExpiration createTemporaryDirectUrl = client.createTemporaryDirectUrl("/RVAdata/test/test/Daily_Summary_Reports/Modified.pdf");

3 Replies 3

Re: How to setup expire of shareable url for dropbox resource?

Steve M.
Dropboxer

No, those links always expire after 4 hours.

Re: How to setup expire of shareable url for dropbox resource?

Greg-DB
Dropboxer

To elaborate a bit, Steve is referring to the links returned by createTemporaryDirectUrl, which always expire after four hours.

The links returned by createShareableUrl do not expire by default. Users can set expirations on these links manually, using the Dropbox web site, but this isn't currently available via the API. We'll consider this a feature request for that though.

Re: How to setup expire of shareable url for dropbox resource?

mike k.24
New member | Level 1

Thank you for information!

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    mike k.24 New member | Level 1
  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Steve M. Dropboxer
What do Dropbox user levels mean?
Need more support?