Claude Platform Docs

Пользователи

Список пользователей
client.Organization.Users.List(ctx, query) (*Page[OrganizationUser], error)
GET/v1/organizations/users

Возвращает список участников организации.

Получить пользователя
client.Organization.Users.Get(ctx, userID) (*OrganizationUser, error)
GET/v1/organizations/users/{user_id}

Возвращает участника организации по идентификатору пользователя.

Обновить пользователя
client.Organization.Users.Update(ctx, userID, body) (*OrganizationUser, error)
POST/v1/organizations/users/{user_id}

Обновляет роль участника в организации.

Удалить пользователя
client.Organization.Users.Remove(ctx, userID) (*OrganizationUserRemoveResponse, error)
DELETE/v1/organizations/users/{user_id}

Удаляет участника из организации.

Models
type OrganizationUser struct { Type: "user"; ID; AddedAt; /* 3 more */ }