authzrule delete
Deletes an authorization rule.
Requires authentication (administrator ID and password) to use this command.
Syntax
authzrule delete rule_id
Options
rule_id- Specifies the name of the authorization rule to delete. The authorization rule must exist, or an error is displayed.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command
provides a description of the error and an error status code in hexadecimal
format (for example,
0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.
Examples
The following example deletes the
eng-test rule: pdadmin sec_master> authzrule delete eng-testThe
following example deletes the
myRule rule: pdadmin sec_master> authzrule delete myRule