The file-set-snaplock-retention-time API sets the SnapLock retention attributes of a file.
You can use this API to extend the retention period of an existing WORM file in a SnapLock volume.