rmpolicy

Deletes one or more inactive policies.

Read syntax diagramSkip visual syntax diagram
                                        .-------------.
                                        V             |
>>-rmpolicy--+--------+--+---------+--+---policy_name-+-+------><
             +- –?----+  '- –quiet-'  '- – -------------'
             +- –h----+
             '- –help-'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–quiet
Turns off confirmation messages for this command.
policy_name
Specifies the names of one or more inactive policies to delete.
Specifies that you want to read the names of one or more inactive policies to delete from stdin (for example, – << /work/policies_list.txt).

Prerequisites

You must have Administrator privileges to use the command.

You must be logged in to the the operating system on engine hosting the master metadata server to run this command.

Example

Remove a policy The following example removes the policy named test_policy:
sfscli> rmpolicy test_policy
Are you sure you want to delete policy test_policy? [y/n] Y
Policy test_policy removed.

Parent topic: Administrative commands

Related reference
catpolicy
lspolicy
mkpolicy
statpolicy
usepolicy

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.