Claude Platform Docs

RBAC 그룹

RBAC 그룹 생성
$client->beta->organization->rbacGroups->create(string name): RBACGroup
POST/v1/organizations/rbac_groups

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

RBAC 그룹 목록 조회
$client->beta->organization->rbacGroups->list(?int limit, ?string page): PageCursor<RBACGroup>
GET/v1/organizations/rbac_groups

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

RBAC 그룹 조회
$client->beta->organization->rbacGroups->retrieve(string rbacGroupID): RBACGroup
GET/v1/organizations/rbac_groups/{rbac_group_id}

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

RBAC 그룹 업데이트
$client->beta->organization->rbacGroups->update(string rbacGroupID, ?string name): RBACGroup
POST/v1/organizations/rbac_groups/{rbac_group_id}

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

RBAC 그룹 삭제
$client->beta->organization->rbacGroups->delete(string rbacGroupID): DeletedRBACGroup
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

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

Models
class DeletedRBACGroup { $type = 'rbac_group_deleted'; $id; }
"rbac_group_deleted" type

Deleted object type.

For RBAC Groups, this is always "rbac_group_deleted".

string id

ID of the RBAC Group.

class RBACGroup { $type = 'rbac_group'; $id; $createdAt; /* 4 more */ }
"rbac_group" type

Object type.

For RBAC Groups, this is always "rbac_group".

string id

ID of the RBAC Group.

\Datetime createdAt

RFC 3339 timestamp of when the RBAC Group was created.

string name

Name of the RBAC Group. Not uniqueness-enforced.

?list<string> roleIDs

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 sourceType

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.

\Datetime updatedAt

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

RBAC 그룹멤버

RBAC 그룹 멤버 목록 조회
$client->beta->organization->rbacGroups->members->list(string rbacGroupID, ?int limit, ?string page): PageCursor<BetaRBACGroupMember>
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

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

RBAC 그룹 멤버 추가
$client->beta->organization->rbacGroups->members->add(string rbacGroupID, string userID): BetaRBACGroupMember
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

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

RBAC 그룹 멤버 제거
$client->beta->organization->rbacGroups->members->remove(string userID, string rbacGroupID): BetaDeletedRBACGroupMember
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

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