Claude Platform Docs

ユーザー

ユーザーの一覧を取得
$client->beta->organization->users->list(?string afterID, ?string beforeID, ?string email, ?int limit, ?list<string> roles): Page<OrganizationUser>
GET/v1/organizations/users

組織のメンバーを一覧表示します。

ユーザーを取得
$client->beta->organization->users->retrieve(string userID): OrganizationUser
GET/v1/organizations/users/{user_id}

ユーザー ID で組織のメンバーを取得します。

ユーザーを更新
$client->beta->organization->users->update(string userID, Role role): OrganizationUser
POST/v1/organizations/users/{user_id}

メンバーの組織ロールを更新します。

ユーザーを削除
$client->beta->organization->users->remove(string userID): UserRemoveResponse
DELETE/v1/organizations/users/{user_id}

組織からメンバーを削除します。

Models
class OrganizationUser { $type = 'user'; $id; $addedAt; /* 3 more */ }
"user" type

Object type.

For Users, this is always "user".

string id

ID of the User.

\Datetime addedAt

RFC 3339 datetime string indicating when the User joined the Organization.

string email

Email of the User.

string name

Name of the User.

Organization role of the User.