# Upsert Entity Domain Role Upsert Entity Domain Role Endpoint: PATCH /rest/2.0/ENTITY_DOMAIN_ROLE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) Id: primary key - `brmObjects.EntityId` (integer) EntityId - `brmObjects.RoleId` (integer, required) RoleId - `brmObjects.Status` (string, required) Status - `brmObjects.ReadPrivilege` (string) ReadPrivilege - `brmObjects.UpdatePrivilege` (string) UpdatePrivilege - `brmObjects.CreatePrivilege` (string) CreatePrivilege - `brmObjects.DeactivatePrivilege` (string) DeactivatePrivilege - `brmObjects.NodeName` (string) NodeName - `brmObjects.ParentNodeName` (string) ParentNodeName - `brmObjects.NodeSortOrder` (string) NodeSortOrder: Parent Node Name - `brmObjects.NodeType` (string) NodeType - `brmObjects.NodeGroupName` (string) NodeGroupName - `brmObjects.HiddenNode` (integer) HiddenNode - `brmObjects.DomainId` (string) DomainId - `brmObjects.ExternalKey` (string, required) ExternalKey: Combined with parent and uniq keys field - `brmObjects.ExecutePrivilege` (string) ExecutePrivilege - `externalIDFieldName` (string) Enum: "ExternalKey" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)