Skip to content

Commit a5cd247

Browse files
batuhanclaude
andcommitted
Say what sf teams members invite prints when some invitations fail
The invitations go out together, a failure doesn't list the ones that went out, and a rerun only re-invites the failed addresses because a pending invitation answers invitation_already_exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9311064 commit a5cd247

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎content/cli/teams.mdx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ sf teams members invite jane@example.com alex@example.com --role member
209209

210210
### Output
211211

212-
One `Invited <email> as <role>` line per address. If any address fails, the command exits with that error.
212+
One address prints `Invited <email> as <role>` and the invitation ID. Several print how many people were invited. `--json` returns `{ invitation }` or `{ invitations }`.
213+
214+
The invitations go out together. If any fail, the command exits with the error, or with "Multiple invitation requests failed.", and doesn't list the ones that went out. Run `sf teams invitations ls` to see which were sent. Sending again to an address with a pending invitation fails with `invitation_already_exists`, so a rerun only invites the addresses that failed. Resend an existing invitation from the dashboard under **Members → Pending**.
213215

214216
## sf teams members rm
215217

0 commit comments

Comments
 (0)