Claude Platform Docs

Pengguna

Daftar Pengguna
beta.organization.users.list(**kwargs) -> SyncPage[BetaOrganizationUser]
GET/v1/organizations/users

Daftar anggota organisasi.

Dapatkan Pengguna
beta.organization.users.retrieve(user_id) -> BetaOrganizationUser
GET/v1/organizations/users/{user_id}

Ambil anggota organisasi berdasarkan ID pengguna.

Perbarui Pengguna
beta.organization.users.update(user_id, **kwargs) -> BetaOrganizationUser
POST/v1/organizations/users/{user_id}

Perbarui peran organisasi anggota.

Keluarkan Pengguna
beta.organization.users.remove(user_id) -> UserRemoveResponse
DELETE/v1/organizations/users/{user_id}

Keluarkan anggota dari organisasi.

Models
class BetaOrganizationUser: type: "user"; id; added_at; ... # 3 more
type: Literal["user"]

Object type.

For Users, this is always "user".

defaultuser
id: str

ID of the User.

added_at: datetime

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

formatdate-time
email: str

Email of the User.

name: str

Name of the User.

Organization role of the User.

One of the following:
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"
class UserRemoveResponse: type: "user_deleted"; id
type: Literal["user_deleted"]

Deleted object type.

For Users, this is always "user_deleted".

defaultuser_deleted
id: str

ID of the User.