Claude Platform Docs

成员

列出 RBAC 组成员
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

列出 RBAC 组的成员。

添加 RBAC 组成员
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

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

移除 RBAC 组成员
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

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

Models
BetaRBACGroupMember object{ type: "rbac_group_member", created_at, email, 3 more }
type: "rbac_group_member"

Object type.

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

defaultrbac_group_member
created_at: string

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.

group_id: string⁠Deprecated

Deprecated: use rbac_group_id instead. ID of the RBAC Group; always the same value as rbac_group_id.

Use `rbac_group_id` instead; `group_id` always has the same value.
MemberRemoveResponse object{ type: "rbac_group_member_deleted", group_id, rbac_group_id, user_id }
type: "rbac_group_member_deleted"

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

defaultrbac_group_member_deleted
rbac_group_id: string

ID of the RBAC Group.

user_id: string

ID of the User.

group_id: string⁠Deprecated

Deprecated: use rbac_group_id instead. ID of the RBAC Group; always the same value as rbac_group_id.

Use `rbac_group_id` instead; `group_id` always has the same value.