Claude Platform Docs

RBAC 组

列出 RBAC 组
GET/v1/organizations/rbac_groups
获取 RBAC 组
GET/v1/organizations/rbac_groups/{group_id}
创建 RBAC 组
POST/v1/organizations/rbac_groups
更新 RBAC 组
POST/v1/organizations/rbac_groups/{group_id}
删除 RBAC 组
DELETE/v1/organizations/rbac_groups/{group_id}
Models
RbacGroup object{ id, created_at, name, 4 more }
id: string

ID of the RBAC Group.

created_at: string

RFC 3339 timestamp of when the RBAC Group was created.

formatdate-time
name: string

Name of the RBAC Group. Not uniqueness-enforced.

roles: array of string or null

RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. null means role data was temporarily unavailable — retry to distinguish from an empty list.

source_type: "direct" or "scim"

How the RBAC Group was created: "direct" for groups created directly (for example, in the organization's admin settings), "scim" for groups provisioned by the identity provider.

One of the following:
"direct"
"scim"
type: "rbac_group"

Object type.

For RBAC Groups, this is always "rbac_group".

defaultrbac_group
updated_at: string

RFC 3339 timestamp of when the RBAC Group was last updated.

formatdate-time
RbacGroupDeleted object{ id, type }
id: string

ID of the RBAC Group.

type: "rbac_group_deleted"

Deleted object type.

For RBAC Groups, this is always "rbac_group_deleted".

defaultrbac_group_deleted

RBAC 组成员

列出 RBAC 组成员
GET/v1/organizations/rbac_groups/{group_id}/members
添加 RBAC 组成员
POST/v1/organizations/rbac_groups/{group_id}/members
移除 RBAC 组成员
DELETE/v1/organizations/rbac_groups/{group_id}/members/{user_id}