How do I set a box link to never expire via the content API?

I need to set a box link to never expire.

The API guide doesn't describe how to do this:

I've opened a request on the box communities page, but I'm hoping someone here might know and save me the wait!

I have tried sending both 'NULL' and blank string '' in the field "unshared_at".

NULL just defaulted to the standard date. Blank string failed entirely.


It transpires that PHP was not encoding a null value for 'unshared_at'. If you do successfully send a null, it works just fine.

This works:

{"shared_link": {
        "access": "company",
        "unshared_at": null

Need Your Help

How to restart tweepy script in case of error?

python restart tweepy

I have a python script that continuously stores tweets related to tracked keywords to a file. However, the script tends to crash repeatedly due to an error appended below. How do I edit the scrip...

Android - Make my app launchable from the Apps List and from "Share" menu

android android-intent android-activity

I have an Activity, which I want to make launchable from Apps List and by choosing it in the "Share smth." menu. Here's a code of my Activity in AndroidManifest