CLI command

skarbiec request withdraw

Take back a pending request: the agent that filed it, or a decider, closes it and nothing is issued.

Invocation#

Shell
skarbiec request withdraw <request-id> --by <agent-or-uid>

Purpose#

Take back a pending request: the agent that filed it, or a decider, closes it and nothing is issued.

Required inputs and options#

  • The request id and --by: the requesting agent's name, or a deciding recipient's uid.

Output and state effects#

  • Records the withdrawal, sets the state withdrawn, journals access-withdrawn and prints ok, request_id and state.

Refusals#

  • A flag other than --by exits 2 (arguments-flag-unknown); no --by exits 2. A request no longer pending is request-not-pending; anyone but the requesting agent is held to the decider rules.