Update Role Policies
Updates role policies.
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();
const result = await norbix.hub.membership.updateRolePolicies({
id: 'pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj',
roleName: 'content-editor',
description: 'Can create and edit content, but not manage billing or members.',
policies: ['pol_7Uhn615iG5KLwiIYGkxSIG', 'pol_1k4ufY10onE6beVi6Hp7I3'],
});using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;
using var client = new NorbixClient();
var result = await client.Membership.UpdateRolePoliciesAsync(new UpdateRolePolicies
{
Id = "pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj",
RoleName = "content-editor",
Description = "Can create and edit content, but not manage billing or members.",
Policies = new[] { "pol_7Uhn615iG5KLwiIYGkxSIG", "pol_1k4ufY10onE6beVi6Hp7I3" },
});In the dashboard
API reference
Last updated