chainabit chain run reject
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Reject without executing
Synopsis
chainabit chain run reject <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--reason <reason> | Reason for rejection | — |
--yes | Confirm this change | — |
--workspace <id> | Workspace ID | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Rejects the pending approval with the given ID; the action waiting on it does not run. --reason attaches a short reason to the rejection. The approval is looked up in a workspace: pass --workspace, or the command uses your default workspace; if neither is set, the command asks you to select one.
This command changes data, so it asks for confirmation. In a terminal it shows the action and asks you to confirm; if you decline, nothing changes. Pass --yes to skip the question. With --json, or when there is no terminal, the command changes nothing and exits with code 2 unless you pass --yes.
Output
The output shows whether the approval was resolved. With --json it contains resolved.
Authentication and permissions
You must be signed in. The server decides whether your account may decide this approval in that workspace.
Examples
chainabit chain run reject 00000000-0000-4000-8000-000000000004
chainabit chain run reject 00000000-0000-4000-8000-000000000004 --reason "Not needed" --yes