> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/group.md).

# groupコマンド

グループを使うと、チームを編Createし、管理責任を委任できます。グループに保管庫へのアクセス権を与え、権限を割り当てることができるため、各メンバーを個別に追跡する必要がなくなります。

#### [**サブコマンド**](https://developer.1password.com/docs/cli/reference/management-commands/group/#subcommands) <a href="#id-1b7evy1m14ld" id="id-1b7evy1m14ld"></a>

* [group create](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-create): グループをCreateする
* [group delete](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-delete): グループを削除する
* [group edit](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-edit): グループの名前または説明を編集します
* [group get](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-get) : グループの詳細を取得する
* [group list](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-list): グループを一覧表示する
* [group user](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-user): グループメンバーシップを管理する

### **group create** <a href="#qrff788d8hrw" id="qrff788d8hrw"></a>

グループをCreateし、グループの ID を含む JSON オブジェクトを受け取ります。

op group create \<name> \[flags]

#### **Flags**[**​**](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-create-flags) <a href="#lq1zdsoo5vws" id="lq1zdsoo5vws"></a>

​​--description string Set the group's description.

### **group delete** <a href="#w84ng1rt6gez" id="w84ng1rt6gez"></a>

グループを削除します。削除するグループを名前または ID で指定します。

op group delete \[{ \<groupName> | \<groupID> | - }] \[flags]

### **group edit** <a href="#h1ucscusipvu" id="h1ucscusipvu"></a>

グループの名前または説明を編集します。編集するグループを名前または ID で指定します。

op group edit \[{ \<groupName> | \<groupID> | - }] \[flags]

#### **Flags** <a href="#id-3qigseqv3cqo" id="id-3qigseqv3cqo"></a>

\--description description Change the group's description.

\--name name Change the group's name.

### **group get**[**​**](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-get) <a href="#c3vg37fnfvl1" id="c3vg37fnfvl1"></a>

グループの詳細を取得します。グループを名前または ID で指定します。

op group get \[{ \<groupName> | \<groupID> | - }] \[flags]

**Use standard input to specify objects**

このコマンドに単一のオブジェクトの代わりにハイフン ( -) を入力すると、ツールは標準入力 (stdin) からオブジェクト指定子を読み取ります。各指定子は新しい行で区切ります。オブジェクトの指定方法の詳細については、 op helpを実行してください。

コマンドに JSON オブジェクトのリストまたは配列を渡すこともできます。ツールは、改行を無視して、ID を持つ全てのオブジェクトの項目を取得します。これは、あるopコマンドから別のコマンドに情報を渡す場合に便利です。

#### [**例**](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-get-examples) <a href="#o6pnflf07ml4" id="o6pnflf07ml4"></a>

**全ての**グループの詳細を取得します:

op group list --format=json | op group get -

保管庫へのアクセス権を持つグループの詳細を取得します。

op group list --vault "Production keys" --format=json | op group get -

### **group list** <a href="#id-80amm2glp0v9" id="id-80amm2glp0v9"></a>

グループを一覧表示します。

op group list \[flags]

#### **Flags** <a href="#tbv4nvsinfkp" id="tbv4nvsinfkp"></a>

\--user user List groups that a user belongs to.

\--vault vault List groups that have direct access to a vault.

デフォルトではアカウント内の全てのグループを返します。

#### [**例**](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-list-examples) <a href="#wzlysw3xd8jc" id="wzlysw3xd8jc"></a>

**全ての**グループの詳細を取得します:

op group list | op group get -

保管庫へのアクセス権を持つグループの詳細を取得します。

op group list --vault Staging --format=json | op group get -

ユーザーが所属するグループの詳細を取得します。

op group list --user <wendy_appleseed@1password.com> --format=json | op group get -

### **group user** <a href="#oayubk6mmwea" id="oayubk6mmwea"></a>

#### [**サブコマンド**](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-user-subcommands) <a href="#nv0ty9ybi47v" id="nv0ty9ybi47v"></a>

* [group user grant](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-user-grant): グループにユーザーを追加する
* [group user list](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-user-list): グループに属するユーザーを取得します
* [group user revoke](https://developer.1password.com/docs/cli/reference/management-commands/group/#group-user-revoke): グループからユーザーを削除する

### **group user grant** <a href="#kj8wn1amqxeu" id="kj8wn1amqxeu"></a>

ユーザーにグループへのアクセス権を付与します。

op group user grant \[flags]

#### **Flags** <a href="#ehb5rxdcf2is" id="ehb5rxdcf2is"></a>

\--group string Specify the group to grant the user access to.

\--role string Specify the user's role as a member or manager. Default: member.

\--user string Specify the user to grant group access to.

### **group user list** <a href="#h3s5wf13ksaa" id="h3s5wf13ksaa"></a>

グループに属するユーザーを取得します。

op group user list \<group> \[flags]

### **group user revoke** <a href="#nsvzcpg9fx0c" id="nsvzcpg9fx0c"></a>

ユーザーのグループへのアクセスを取り消します。

op group user revoke \[flags]

#### **Flags** <a href="#scbt0soxupe5" id="scbt0soxupe5"></a>

\--group string Specify the group to remove the user from.

\--help Get help with group user revoke.

\--user string Specify the user to remove from the group.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.dxable.com/1password/group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
