A newer release of this product is available.
Manage SnapLock file retention time
Manage the SnapLock retention time of files to control data compliance and regulatory requirements. Use these endpoints to set or extend the retention period and perform privileged-delete operations when necessary.
This API manages the SnapLock retention time of a file. You can perform a privileged-delete operation by executing this API.
Examples
-
Sets the SnapLock retention time of a file:
PATCH "/api/storage/snaplock/file/000dc5fd-4175-11e9-b937-0050568e3f82/%2Ffile2.txt" '{"expiry_time": "2030-02-14T18:30:00+5:30"}' -
Extends the retention time of a WORM file:
PATCH "/api/storage/snaplock/file/000dc5fd-4175-11e9-b937-0050568e3f82/%2Ffile2.txt" '{"expiry_time": "infinite"}'