1Password (Users API)
List users, get user details, and suspend or reactivate accounts.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | Authenticate 1Password (Users API) as an application with OAuth 2.0. No user sign-in is required; access uses the permissions granted to the app. |
调用示例
import { createClient } from "@open-connector/commercial-sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "1PASSWORD_USERS_GET_USER", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("1PASSWORD_USERS_GET_USER", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute 1PASSWORD_USERS_GET_USER --data '{ }'Tool 目录
可用 Tools
4 个可调用操作
Get a user1PASSWORD_USERS_GET_USERRetrieves a user by their ID.需要连接1 scope
Retrieves a user by their ID.
认证
需要 Connected AccountScopes
users.viewTags
List users1PASSWORD_USERS_LIST_USERSLists the users in a 1Password account.需要连接1 scope
Lists the users in a 1Password account.
认证
需要 Connected AccountScopes
users.viewTags
Reactivate a user1PASSWORD_USERS_REACTIVATE_USERTransitions the user's state from `SUSPENDED` to `ACTIVE` and restores their access to the account. Reactivating a user who's already active returns the user with no changes. Returns a `failed_precondition` error if the user is in any other state, such as pending confirmation.需要连接1 scope
Transitions the user's state from `SUSPENDED` to `ACTIVE` and restores their access to the account. Reactivating a user who's already active returns the user with no changes. Returns a `failed_precondition` error if the user is in any other state, such as pending confirmation.
认证
需要 Connected AccountScopes
users.reactivateTags
Suspend a user1PASSWORD_USERS_SUSPEND_USERTransitions the user's state from `ACTIVE` to `SUSPENDED` and removes their access to the account. Suspending a user who's already suspended returns the user with no changes. Returns a `failed_precondition` error if the user is in any other state, such as pending confirmation.需要连接1 scope
Transitions the user's state from `ACTIVE` to `SUSPENDED` and removes their access to the account. Suspending a user who's already suspended returns the user with no changes. Returns a `failed_precondition` error if the user is in any other state, such as pending confirmation.
认证
需要 Connected AccountScopes
users.suspendTags