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.