approvals
approvals reject
Reject a held statement
Reject a held statement approval request by ID. The statement is denied and will not execute. Optionally attach a reason recorded in the audit trail.
Usage
pgbeam approvals reject <id> [flags]Options
| Option | Description | Required | Default |
|---|---|---|---|
<id> | Approval request ID | Yes | - |
--reason <value> | Reason recorded in the audit trail | No | - |
Global options
All global options (--token, --profile,
--project, --org, --json, --no-color, --debug) are also available on
this command.
Examples
# Reject a statement
pgbeam approvals reject apr_xxx
# Reject with a reason
pgbeam approvals reject apr_xxx --reason "writes to prod"Output
Confirms the statement was rejected.