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]
[--logdir LOGDIR] [--disable_log]
[--debug] -org 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"
- --logdir
ログファイルを保存するディレクトリを指定します。
Default: .log
- --disable_log
ログを無効にします。
- --debug
HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。
組織オーナまたは組織管理者ロールを持つユーザで実行してください。