Claude Platform Docs

Роли RBAC

Список ролей RBAC
organization.rbac_roles.list(**kwargs) -> PageCursor<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 }
One of the following:
class RBACRoleSourceBuiltIn { type: :built_in }
type: :built_in

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

class RBACRoleSourceCustom { type: :custom }
type: :custom

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

class RBACRoleSourceBuiltIn { type: :built_in }
type: :built_in

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

class RBACRoleSourceCustom { type: :custom }
type: :custom

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

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

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

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