Urgent: Modify TTL on Files Uploaded via API

Craig
Top Contributor

We are urgently looking for a way to change the TTL on files that have been uploaded via the files API, as they are currently being at the 3-month mark, with several hundred at risk.

 

Any solution would be appreciated.

 

Thank you in advance

0 Upvotes
1 Reply 1
Teun
Guide | Diamond Partner

The docs describe a 'update file properties' endpoint, even tho the TTL is not part of the available params, you could try to update the TTL that way. Probably will get an error if it is not allowed.
If this is not possible, you probably need to reupload the file with the 'overwrite' param set to true or use the 'replace file' endpoint.

Try this with one file to be sure that any of the above suggestions work as expected.

Did my answer solve your issue? Help the community by marking it as the solution.
0 Upvotes