cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

How to setup expire of shareable url for dropbox resource?

New member | Level 1
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
Highlighted

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

Dropboxer
Dropboxer

No, those links always expire after 4 hours.

Highlighted

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

Dropboxer
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.

Highlighted

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

New member | Level 1
New member | Level 1

Thank you for information!

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?