organization_member invite#
Description#
組織にメンバーを招待します。
Examples#
基本的な使い方#
対象組織の名前を --organization に、招待するメンバーのuser_idを --user_id に、組織メンバーロールを --role に指定します。
$ annofabcli organization_member invite --organization org1 --user_id u1 u2 --role contributor
Usage Details#
組織にメンバーを招待します。
usage: annofabcli organization_member invite [-h] [--yes]
[--endpoint_url ENDPOINT_URL]
[--annofab_user_id ANNOFAB_USER_ID]
[--annofab_password ANNOFAB_PASSWORD]
[--annofab_pat ANNOFAB_PAT]
[--logdir LOGDIR] [--disable_log]
[--debug] -org ORGANIZATION
[ORGANIZATION ...] -u USER_ID
[USER_ID ...] --role
{owner,administrator,contributor}
Named Arguments#
- -org, --organization
招待先の組織名を指定してください。
- -u, --user_id
組織に招待するメンバーのuser_idを指定してます。
file://を先頭に付けると、一覧が記載されたファイルを指定できます。- --role
Possible choices: owner, administrator, contributor
招待するメンバーに割り当てるロールを指定してください。
global optional arguments#
- --yes
処理中に現れる問い合わせに対して、常に
yesと回答します。- --endpoint_url
Annofab WebAPIのエンドポイントを指定します。
Default:
'https://annofab.com'- --annofab_user_id
Annofabにログインする際のユーザーID
- --annofab_password
Annofabにログインする際のパスワード
- --annofab_pat
Annofabにログインする際のパーソナルアクセストークン
- --logdir
ログファイルを保存するディレクトリを指定します。
Default:
.log- --disable_log
ログを無効にします。
- --debug
HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。
組織オーナまたは組織管理者ロールを持つユーザで実行してください。