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

Delete an EBR policy

Contributors

DELETE /storage/snaplock/event-retention/policies/{policy.name}

Introduced In: 9.7

Deletes the specified Event Based Retention (EBR) policy.

  • snaplock event-retention policy delete

Example

Delete the specified Event Based Retention policy "policy_name":

DELETE "/api/storage/snaplock/event-retention/policies/{policy.name}"

Parameters

Name Type In Required Description

policy.name

string

path

True

Name of the retention policy

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response codes

Error code Description

13763280

Only a user with security login role "vsadmin-snaplock" is allowed to perform this operation.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_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.