Skip to main content

Enable SnapLock for a system

Enables SnapLock for an existing Cloud Volumes ONTAP system to support regulatory compliance and data retention requirements.

HTTP method and endpoint

PUT /aws/ha/working-environments/{workingEnvironmentId}/enable-worm

Parameters

Name Type In Required Description

workingEnvironmentId

string

path

True

Request Body

Name Type Required Description

retentionPeriod

WormRetentionPeriod

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