Claude Platform Docs

成员

列出 RBAC 组成员
beta.organization.rbac_groups.members.list(rbac_group_id, **kwargs) -> PageCursor<BetaRBACGroupMember>
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

列出 RBAC 组的成员。

添加 RBAC 组成员
beta.organization.rbac_groups.members.add(rbac_group_id, **kwargs) -> BetaRBACGroupMember
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

将用户添加到 RBAC 组。当租户中的某个组织使用 SCIM 预配时,由身份提供商预配的组(来源类型为 "scim")的成员资格无法通过 API 修改。

移除 RBAC 组成员
beta.organization.rbac_groups.members.remove(user_id, **kwargs) -> MemberRemoveResponse
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

从 RBAC 组中移除用户。当租户中的某个组织使用 SCIM 预配时,由身份提供商预配的组(来源类型为 "scim")的成员资格无法通过 API 修改。

Models
class BetaRBACGroupMember { type: :rbac_group_member, created_at, email, 2 more }
type: :rbac_group_member

Object type.

For RBAC Group Members, this is always "rbac_group_member".

created_at: Time

RFC 3339 timestamp of when the User was added to the RBAC Group.

formatdate-time
email: String

Email of the User.

rbac_group_id: String

ID of the RBAC Group.

user_id: String

ID of the User.

class MemberRemoveResponse { type: :rbac_group_member_deleted, rbac_group_id, user_id }
type: :rbac_group_member_deleted

Deleted object type. For RBAC Group Members, this is always "rbac_group_member_deleted".

rbac_group_id: String

ID of the RBAC Group.

user_id: String

ID of the User.