REJECT PENDINGCMD (Reject commands that are pending approval)
Use this command to reject a command that is pending approval by an approval administrator.
Privilege class
Any administrator who is designated as an approval administrator can issue this command.
Syntax
Parameters
- pending_request_id (Required)
- Specifies the request ID number for the pending command. Only approval administrators who are specified by using the CMDAPPROVER parameter on the UPDATE ADMIN and REGISTER ADMIN commands can approve or reject a pending command request. Approval administrators cannot approve or reject commands that they issued themselves. To view a list of commands that are pending approval and the associated request IDs, issue the QUERY PENDINGCMD command.
- REason
- Specifies a reason for rejecting the pending command. This parameter is optional. The maximum length of the description is 255 characters. Enclose the reason in quotation marks if it contains blank characters.
Example: Reject a pending command that has a request ID of 257
Reject request ID 257 for a command that is waiting for approval. Add the reason,Not approved by the team.
reject pendingcmd 257 reason="Not approved by the team."
Related commands
| Command | Description |
|---|---|
| APPROVE PENDINGCMD | Approve commands that are pending approval. |
| QUERY PENDINGCMD | Display a list of commands that are pending approval. |
| REGISTER ADMIN | Defines a new administrator. |
| SET APPROVERSREQUIREAPPROVAL | Specifies whether commands issued by approval administrators require approval. |
| SET COMMANDAPPROVAL | Specifies whether command approval is required. |
| UPDATE ADMIN | Changes the password or contact information associated with any administrator. |
| WITHDRAW PENDINGCMD | Withdraw commands that are pending approval. |
