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

Save Phone User Name With Permissions

Save Phone User Name With Permissions.

A contact (user) is a person in your project's membership directory, with one or more linked logins (identities). Membership manages their profile, identities, roles, and lifecycle. This method creates the phone user name with permissions; the response returns its id.

This method is on the runtime API surface (norbix.api.membership) — call it from your app.

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.api.membership.savePhoneUserNameWithPermissions({
  phone: '+14155550123',
  roles: ['item-1', 'item-2'],
  ignoreUserRegistersAsRole: true,
  databaseIntegrationId: 'int_4kX9mQvR2tYw7ZbC1dFgHj',
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Membership.SavePhoneUserNameWithPermissionsAsync(new SavePhoneUserNameWithPermissions
{
    Phone = "+14155550123",
    Roles = new[] { "item-1", "item-2" },
    IgnoreUserRegistersAsRole = true,
    DatabaseIntegrationId = "int_4kX9mQvR2tYw7ZbC1dFgHj",
});

In the dashboard

Manage this visually in Norbix Cloud — see Membership → Users.

API reference

Full request and response for this endpoint: Save Phone User Name With Permissions.

Last updated