chainabit invitation decline
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)
Decline a project invitation
Synopsis
text
chainabit invitation decline <project-invitation-id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<project-invitation-id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--yes | Confirm this change | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Declines the project invitation with the given ID. Find the ID with chainabit invitation list --kind project. Only project invitations can be declined with this command.
- The command asks for confirmation first. Pass
--yesto skip the question. - Without a terminal, or with
--json, and without--yes, nothing is changed: the command printsNothing was changed. Add --yes to confirm.and exits with code 2. - If you decline the question, nothing is changed.
Output
The receipt shows the Status of the invitation. With --json the output has id and status.
Authentication and permissions
You must be signed in. You can decline only invitations addressed to you.
Examples
bash
chainabit invitation decline 00000000-0000-4000-8000-000000000001
chainabit invitation decline 00000000-0000-4000-8000-000000000001 --yes