Claude Platform Docs

Rôles RBAC

Lister les rôles RBAC
RbacRoleListPage beta().organization().rbacRoles().list(params = RbacRoleListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles

Lister les rôles RBAC de l'organisation.

Obtenir un rôle RBAC
BetaRbacRole beta().organization().rbacRoles().retrieve(params = RbacRoleRetrieveParams.none(), requestOptions = RequestOptions.none())
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; createdAt; /* 3 more */ }
class BetaRbacRoleSource: union
class BetaRbacRoleSourceBuiltIn { type = "built_in"; }
JsonValue type = "built_in"

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

class BetaRbacRoleSourceCustom { type = "custom"; }
JsonValue type = "custom"

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

class BetaRbacRoleSourceBuiltIn { type = "built_in"; }
JsonValue type = "built_in"

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

class BetaRbacRoleSourceCustom { type = "custom"; }
JsonValue type = "custom"

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

Rôles RBACAutorisations

Lister les autorisations d'un rôle RBAC
PermissionListPage beta().organization().rbacRoles().permissions().list(params = PermissionListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

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