Claude Platform Docs

取得使用者

$ ant beta:organization:users retrieve
GET/v1/organizations/users/{user_id}

依使用者 ID 擷取組織成員。

Parameters
--user-id: string⁠Path parameter

ID of the User.

Returns
beta_organization_user: object{ type: "user", id, added_at, 3 more }
取得使用者
ant beta:organization:users retrieve \
  --user-id user_id
Returns Examples
Response 200
{
  "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
  "added_at": "2024-10-30T23:58:27.427722Z",
  "email": "user@example.com",
  "name": "Jane Doe",
  "role": "admin",
  "type": "user"
}