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

Create Account Role

create Account Role.

Team members are the people who administer your account and its projects, controlled by account roles. This method creates the account role and returns its id.

This method is on the Hub surface (norbix.hub.account) β€” 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.account.createAccountRole({
  roleName: 'orders',
  description: 'Managed via the Norbix SDK.',
  policies: ['item-1'],
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Account.CreateAccountRoleAsync(new CreateAccountRole
{
    RoleName = "orders",
    Description = "Managed via the Norbix SDK.",
    Policies = new[] { "item-1" },
});
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.account.create_account_role(
    roleName="orders",
    description="Managed via the Norbix SDK.",
    policies=["item-1"],
)

In the dashboard

Manage this visually in Norbix Cloud β€” see Account & Projects β†’ Team.

API reference

Full request and response for this endpoint: Create Account Role.

Last updated