How to set expiry time for uploading files through Box Api
AnsweredI wanted to set the expiry time to file which is going to uploaded to Box. So it have to be removed from Box after the expiry time got exceeded. Is there any way to do through Box API to set the expiry time to the file???
I have checked upload file api and did not find anything to set the time bound.
Thanks for advance!!
-
Hi ,
Thanks for your post. Is this for a collaborator who has access to your folder that you wish to expire?
Would something like this work?
-
Thanks Howard.
My requirement is, If I upload a file to box that file has to removed from box after certain time automatically. The time frame I wanted to set while uploading file to box so it will remove from box after the time bound crossed. I have checked upload file api for these parameters to set but I did not find.
Is there any way to leverage the api or any existed api is there to achieve this requirement??
Thanks,
Govardhan
-
Good morning and ,
as per what I have seen I think this is one of the cases that the "first-api" approach has not been followed.
As you say @dev4, on the api reference does not appear how to update that but on the Enterprise events appear a reference to "STORAGE_EXPIRATION" that controls when a file is set for auto-deletion.
So, it is something that only seems to be available at the moment on the UI.
Regards
Please sign in to leave a comment.
Comments
4 comments