CLI command

skarbiec subscription withdraw

Take back the recorded refusal of a subscription's grant.

Invocation#

Shell
skarbiec subscription withdraw <item-id>

Purpose#

Take back the recorded refusal of a subscription's grant.

Required inputs and options#

  • One subscription item. POST /v1/operator/subscriptions/withdraw takes item.

Output and state effects#

  • Removes refused from the subscription's record, journals subscription-refusal-withdrawn and prints the subscription as list shows it.

Refusals#

  • No item, or more than one, exits 2 (item-argument). An item that is not a live subscription is refused naming the subscriptions (not-subscription); one with no refusal recorded is refused naming the refused ones (no-refusal).