Claude Platform Docs

Benutzer

Benutzer auflisten
organization.users.list(**kwargs) -> Page<OrganizationUser>
GET/v1/organizations/users

Listet die Mitglieder der Organisation auf.

Benutzer abrufen
organization.users.retrieve(user_id) -> OrganizationUser
GET/v1/organizations/users/{user_id}

Ruft ein Mitglied der Organisation anhand der Benutzer-ID ab.

Benutzer aktualisieren
organization.users.update(user_id, **kwargs) -> OrganizationUser
POST/v1/organizations/users/{user_id}

Aktualisiert die Organisationsrolle eines Mitglieds.

Benutzer entfernen
organization.users.remove(user_id) -> UserRemoveResponse
DELETE/v1/organizations/users/{user_id}

Entfernt ein Mitglied aus der Organisation.

Models
class OrganizationUser { type: :user, id, added_at, 3 more }
type: :user

Object type.

For Users, this is always "user".

id: String

ID of the User.

added_at: Time

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

formatdate-time
email: String

Email of the User.

name: String

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: :user_deleted

Deleted object type.

For Users, this is always "user_deleted".

id: String

ID of the User.