organization_member change

Description

組織メンバの情報(ロールなど)を変更します。

Examples

基本的な使い方

対象組織の名前を --organization に、変更対象のユーザのuser_idを --user_id に指定します。 ロールを変更する場合は --role を指定します。

$ annofabcli organization_member change --organization org1 --user_id u1 u2 --role contributor

Usage Details

組織メンバの情報(ロールなど)を変更します。

usage: annofabcli organization_member change [-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リクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。

組織オーナまたは組織管理者ロールを持つユーザで実行してください。