Claude Platform Docs

Rôles RBAC

Lister les rôles RBAC
beta.organization.rbac_roles.list(**kwargs) -> PageCursor<BetaRBACRole>
GET/v1/organizations/rbac_roles

Lister les rôles RBAC de l'organisation.

Obtenir un rôle RBAC
beta.organization.rbac_roles.retrieve(rbac_role_id) -> BetaRBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Récupérer un rôle RBAC par son ID.

Models
class BetaRBACRole { type: :rbac_role, id, created_at, 3 more }
One of the following:
class BetaRBACRoleSourceBuiltIn { type: :built_in }
type: :built_in

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

class BetaRBACRoleSourceCustom { type: :custom }
type: :custom

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

class BetaRBACRoleSourceBuiltIn { type: :built_in }
type: :built_in

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

class BetaRBACRoleSourceCustom { type: :custom }
type: :custom

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

Rôles RBACAutorisations

Lister les autorisations d'un rôle RBAC
beta.organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> PageCursor<BetaRBACRolePermission>
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Lister les autorisations accordées par un rôle RBAC.