ONTAP 9.15.1 commands

snaplock event-retention policy delete

Delete SnapLock Event Based Retention policies for a Vserver

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snaplock event-retention policy delete command is used to delete Event Based Retention (EBR) policies for a Vserver. Only a user with security login role vsadmin-snaplock is allowed to perform this operation.

Parameters

-vserver <vserver name> - Vserver Name

If this parameter is specified, the command deletes all EBR policies that match the specified Vserver.

-name <text> - Policy Name

If this parameter is specified, the command deletes all EBR policies that match the specified name .

Examples

The following example deletes retention policy "p1" for Vserver "vs1":

vs1::> snaplock event-retention policy delete -name p1
Top of Page