CLI command

skarbiec request deny

Close a pending request without issuing anything.

Invocation#

Shell
skarbiec request deny <request-id> --by <uid> [--reason <text>]

Purpose#

Close a pending request without issuing anything.

Required inputs and options#

  • The request id, --by the deciding recipient, and an optional --reason kept with the decision. POST /v1/operator/requests/deny takes id, by and reason.

Output and state effects#

  • Records the denial, sets the state denied, journals access-denied and prints ok, request_id and state.

Refusals#

  • A flag other than --by and --reason exits 2 (arguments-flag-unknown); no --by exits 2. The decider is held to the rules approve holds it to, and a request no longer pending is request-not-pending.