Auto delete files

SOLVED
Go to solution
Occasional Contributor

Auto delete files

  • Is there an option to create a folder with a retention policy (e.g. Any file in the folder will auto-delete after 3 days)
  • Is there a way to set an auto-delete / expire on a file through the API?
1 REPLY 1
Highlighted
Box Employee

Re: Auto delete files

Yes, you can create and assign retention policies via the API:

 

https://developer.box.com/reference/post-retention-policies/

https://developer.box.com/reference/post-retention-policy-assignments/

 

This feature is only available to enterprises that have purchased Governance.


---
Developer Advocate @ Box