Skip to main content

vserver security file-directory policy delete

Contributors
Suggest changes

Delete a file security policy

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

Description

The `vserver security file-directory policy delete` command deletes a security policy from a Vserver.
Note Deleting a policy fails if a job is currently running for the specified policy.

Parameters

-vserver <vserver name> - Vserver

Specifies the name of the Vserver associated with the security policy that you want to delete.

-policy-name <Security policy name> - Policy Name

Specifies the name of the security policy you want to delete.

Examples

The following example deletes a security policy named “policy1” from Vserver vs1.

cluster1::> vserver security file-directory policy delete -policy-name policy1 -vserver vs1