CLIorg

capxul org permission assign

Propose assigning one active Permission to one exact Account; you approve it in the browser

Runs in: devnet · staging · production · Moves money: no

Usage

capxul org permission assign [flags] [<id>]

Arguments

ArgumentTypeRequiredDescription
<id>stringnoThe Permission ID

Flags

FlagTypeRequiredDescription
--emailstringnothe signed-in person to use, when this machine has several
--account-idstringnothe member's Account ID
--expected-member-emailstringnothe member's email, checked before anything changes
--request-keystringyesa key that makes repeating the same write safe
--waitbooleannoafter you approve it, follow it through until it is applied, failed or needs action
--timeout-secondsintegernohow long to follow it (default: until the approval lapses)

Every command also takes the global flags.

Returns

The data of the result that --json prints:

--json: { status: 'awaiting_approval', approvalId, approvalUrl, paymentIds: [], expiresAt, requestKey, next: { argv } }; a person, or --wait: { approval, requestKey }, with --wait also command: PermissionCommandView (status applied, failed or actionable)

Errors

Generated from capxul schema org permission assign.

On this page