Claude Platform Docs

RBAC 그룹 삭제

beta.organization.rbac_groups.delete(rbac_group_id) -> RBACGroupDeleteResponse
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

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

RBAC Groups API는 Claude Enterprise 조직에서만 사용할 수 있습니다.

Parameters
rbac_group_id: str⁠Path parameter

ID of the RBAC Group.

Returns
class RBACGroupDeleteResponse: type: "rbac_group_deleted"; id
type: Literal["rbac_group_deleted"]

Deleted object type.

For RBAC Groups, this is always "rbac_group_deleted".

defaultrbac_group_deleted
id: str

ID of the RBAC Group.

RBAC 그룹 삭제
import os
from anthropic import Anthropic

client = Anthropic(
    api_key=os.environ.get(
        "ANTHROPIC_API_KEY"
    ),  # This is the default and can be omitted
)
rbac_group = client.beta.organization.rbac_groups.delete(
    "rbac_group_id",
)
print(rbac_group.id)
Returns Examples
Response 200
{
  "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
  "type": "rbac_group_deleted"
}