Claude Platform Docs

RBAC 그룹

RBAC 그룹 생성
client.Beta.Organization.RBACGroups.New(ctx, body) (*BetaRBACGroup, error)
POST/v1/organizations/rbac_groups

Claude Enterprise 테넌트에 RBAC 그룹을 생성합니다. API를 통해 생성된 그룹의 소스 유형은 "direct"입니다.

RBAC 그룹 목록 조회
client.Beta.Organization.RBACGroups.List(ctx, query) (*PageCursor[BetaRBACGroup], error)
GET/v1/organizations/rbac_groups

Claude Enterprise 테넌트의 RBAC 그룹 목록을 조회합니다.

RBAC 그룹 조회
client.Beta.Organization.RBACGroups.Get(ctx, rbacGroupID) (*BetaRBACGroup, error)
GET/v1/organizations/rbac_groups/{rbac_group_id}

ID로 RBAC 그룹을 조회합니다.

RBAC 그룹 업데이트
client.Beta.Organization.RBACGroups.Update(ctx, rbacGroupID, body) (*BetaRBACGroup, error)
POST/v1/organizations/rbac_groups/{rbac_group_id}

RBAC 그룹의 이름을 업데이트합니다. 테넌트의 조직이 SCIM 프로비저닝을 사용하는 동안에는 ID 공급자가 프로비저닝한 그룹(소스 유형 "scim")을 API를 통해 수정할 수 없습니다.

RBAC 그룹 삭제
client.Beta.Organization.RBACGroups.Delete(ctx, rbacGroupID) (*BetaOrganizationRBACGroupDeleteResponse, error)
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

RBAC 그룹을 삭제합니다. 테넌트의 조직이 SCIM 프로비저닝을 사용하는 동안에는 ID 공급자가 프로비저닝한 그룹(소스 유형 "scim")을 API를 통해 삭제할 수 없습니다.

Models
type BetaRBACGroup struct { Type: "rbac_group"; ID; CreatedAt; /* 4 more */ }
Type RBACGroup

Object type.

For RBAC Groups, this is always "rbac_group".

defaultrbac_group
ID string

ID of the RBAC Group.

CreatedAt Time

RFC 3339 timestamp of when the RBAC Group was created.

formatdate-time
Name string

Name of the RBAC Group. Not uniqueness-enforced.

RoleIDs []string

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.

SourceType BetaRBACGroupSourceType

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:
const BetaRBACGroupSourceTypeDirect BetaRBACGroupSourceType = "direct"
const BetaRBACGroupSourceTypeSCIM BetaRBACGroupSourceType = "scim"
UpdatedAt Time

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

formatdate-time

RBAC 그룹멤버

RBAC 그룹 멤버 목록 조회
client.Beta.Organization.RBACGroups.Members.List(ctx, rbacGroupID, query) (*PageCursor[BetaRBACGroupMember], error)
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

RBAC 그룹의 멤버 목록을 조회합니다.

RBAC 그룹 멤버 추가
client.Beta.Organization.RBACGroups.Members.Add(ctx, rbacGroupID, body) (*BetaRBACGroupMember, error)
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

RBAC 그룹에 사용자를 추가합니다. 테넌트의 조직이 SCIM 프로비저닝을 사용하는 동안에는 ID 공급자가 프로비저닝한 그룹(소스 유형 "scim")의 멤버십을 API로 수정할 수 없습니다.

RBAC 그룹 멤버 제거
client.Beta.Organization.RBACGroups.Members.Remove(ctx, userID, body) (*BetaOrganizationRBACGroupMemberRemoveResponse, error)
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

RBAC 그룹에서 사용자를 제거합니다. 테넌트의 조직이 SCIM 프로비저닝을 사용하는 동안에는 ID 공급자가 프로비저닝한 그룹(소스 유형 "scim")의 멤버십을 API로 수정할 수 없습니다.