Skip to main content
REST API reference
A newer release of this product is available.

Initializes the snaplock complianceclock

  • snaplock compliance-clock initialize # learn more

  • [doc /storage/snaplock/compliance-clocks](#docs-snaplock-storage_snaplock_compliance-clocks)

POST /storage/snaplock/compliance-clocks

Introduced In: 9.10

Initializes the SnapLock ComplianceClock.

Required properties

  • node.name or node.uuid - Name or UUID of the node.

  • snaplock compliance-clock initialize

Parameters

Name Type In Required Description

return_records

boolean

query

False

The default is false. If set to true, the records are returned.

  • Default value:

Request Body

Name Type Description

node

node

time

string

Compliance clock time

Example request
{
  "node": {
    "name": "node1",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  },
  "time": "2018-06-04T19:00:00Z"
}

Response

Status: 201, Created
Name Type Description

node

node

time

string

Compliance clock time

Example response
{
  "node": {
    "name": "node1",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  },
  "time": "2018-06-04T19:00:00Z"
}

Error

Status: Default, Error

Definitions

See Definitions

href

Name Type Description

href

string

node

Name Type Description

name

string

uuid

string

snaplock_compliance_clock

Name Type Description

node

node

time

string

Compliance clock time

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response