For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Roles

Gets project roles.

A role bundles one or more policies and is assigned to users to control what they can do β€” this is Norbix's role-based access control (RBAC). Roles are project-scoped and managed in the Membership module. This method returns the roles defined in your project.

This method is on the Hub surface (norbix.hub.membership) β€” call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables β€” each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.membership.getRoles({
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Membership.GetRolesAsync(new GetRoles
{
});
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.membership.get_roles()
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Membership.GetRoles(ctx, nil, &result)

In the dashboard

Manage this visually in Norbix Cloud β€” see Membership β†’ Roles.

API reference

Full request and response for this endpoint: Get Roles.

Last updated