Claude Platform Docs

Rôles RBAC

Lister les rôles RBAC
beta.organization.rbac_roles.list(**kwargs) -> SyncPageCursor[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
type BetaRBACRoleSource = ...
One of the following:
class BetaRBACRoleSourceBuiltIn: 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 BetaRBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

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

defaultcustom
class BetaRBACRoleSourceBuiltIn: 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 BetaRBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

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

defaultcustom

Rôles RBACAutorisations

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

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