PgBeam Docs
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

OptionDescriptionRequiredDefault
<id>Approval request IDYes-
--reason <value>Reason recorded in the audit trailNo-

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.

On this page