Manage groups using 1Password SDKs
The Groups class provides methods for interacting with and managing groups in 1Password.
TIP
See the examples folder in the 1Password Go, JavaScript, or Python SDK GitHub repository for full example code you can quickly clone and test in your project.
Get a group
- Go
- JavaScript
- Python
To fetch a group in your 1Password account, use the Groups().Get() method.
Replace groupID with the group's unique identifier.
To fetch a group in your 1Password account, use the groups.get() method.
Replace groupId with the group's unique identifier.
To fetch a group in your 1Password account, use the groups.get() method.
Replace group_id with the group's unique identifier.