PUT
/
v1
/
organizations
/
{organizationId}
/
groups
/
{groupId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

organizationId
string
required

Fabric internal id of the record.

groupId
string
required

Fabric internal id of the record.

Body

application/json
additionalAttributes
object

Contains all additional attributes not captured in the schema.

email
string

email for the group.

groupType
enum<string>
Available options:
Department,
Subsidiary,
Business Unit,
Team,
User,
Customer
name
string

Name of the group.

parentGroupId
string

The unique string used to identify a parent group.

parentPartyId
string

The unique string used to identify a parent party.

parentUserId
string

The unique string used to identify a parent user.

primaryPhone
string

primary phone for the group. If sent it has to contain 2 characters or more.

Minimum length: 2
userId
string

The unique string used to identify a user.

Response

200 - application/json
_id
string

Fabric internal id of the record

additionalAttributes
object

Contains all additional attributes not captured in the schema.

createdAt
string

date of creation of the record

email
string

email of the group

groupType
enum<string>

group type

Available options:
Department,
Subsidiary,
Business Unit,
Team,
User,
Customer
isDeleted
boolean

flag that indicates if the record is deleted

name
string

group3

parentGroupId
string

Fabric internal id of the group parent record

parentPartyId
string

Fabric internal id of the parent party record

parentUserId
string

Fabric internal id of the parent user record

partyId
string

Fabric internal id of the party record

primaryPhone
string

primary phone of the group

updatedAt
string

laste date of update of the record

userId
string

Fabric internal id of the user record