Claude Platform Docs

Роли RBAC

Список ролей RBAC
organization.rbac_roles.list(**kwargs) -> SyncPageCursor[RBACRole]
GET/v1/organizations/rbac_roles

Получить список ролей RBAC в организации.

Получить роль RBAC
organization.rbac_roles.retrieve(rbac_role_id) -> RBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Получить роль RBAC по ID.

Models
class RBACRole: type: "rbac_role"; id; created_at; ... # 3 more
type RBACRoleSource = ...
One of the following:
class RBACRoleSourceBuiltIn: type: "built_in"
type: Literal["built_in"]

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

defaultbuilt_in
class RBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

The organization's administrators can change and delete the RBAC Role.

defaultcustom
class RBACRoleSourceBuiltIn: type: "built_in"
type: Literal["built_in"]

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

defaultbuilt_in
class RBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

The organization's administrators can change and delete the RBAC Role.

defaultcustom

Роли RBACРазрешения

Список разрешений роли RBAC
organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> SyncPageCursor[RBACRolePermission]
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Получить список разрешений, предоставляемых ролью RBAC.