Enable SnapLock for an existing system
Enables SnapLock for an existing system, activating compliance or enterprise retention capabilities for data protection. Use this to configure data retention policies tailored to your requirements.
HTTP method and endpoint
PUT /vsa/working-environments/{workingEnvironmentId}/enable-worm
Usage notes
Enables SnapLock for an existing Cloud Volumes ONTAP system.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
workingEnvironmentId |
string |
path |
True |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
retentionPeriod |
True |
Example request
{
"retentionPeriod": {
"length": 0,
"unit": "string"
}
}
Error
Status: Default, Default response
Definitions
See Definitions
WormRetentionPeriod
| Name | Type | Required | Description |
|---|---|---|---|
length |
integer |
True |
Length |
unit |
string |
True |
Unit |