Claude Platform Docs

Users

List Users
beta.organization.users.list(UserListParams**kwargs) -> SyncPage[BetaOrganizationUser]
GET/v1/organizations/users
Get User
beta.organization.users.retrieve(struser_id) -> BetaOrganizationUser
GET/v1/organizations/users/{user_id}
Update User
beta.organization.users.update(struser_id, UserUpdateParams**kwargs) -> BetaOrganizationUser
POST/v1/organizations/users/{user_id}
Remove User
beta.organization.users.remove(struser_id) -> UserRemoveResponse
DELETE/v1/organizations/users/{user_id}
Models
class BetaOrganizationUser:
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"
type: Literal["user"]

Object type.

For Users, this is always "user".

defaultuser
class UserRemoveResponse:
id: str

ID of the User.

type: Literal["user_deleted"]

Deleted object type.

For Users, this is always "user_deleted".

defaultuser_deleted