# Upsert Layouts Upsert Layouts Endpoint: PATCH /rest/2.0/ENTITY_LAYOUT Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.HideActionsColumnFlag` (integer) Hide Actions Column: Hide Actions Column for Lists - `brmObjects.ListLayoutLabelField` (string) List Layout Label Field - `brmObjects.ExpandTreeFlag` (integer) Expand tree by default: Expand tree - `brmObjects.FormType` (string) Layout Type: Web Type Name - `brmObjects.DefaultFlag` (integer) Default: Default Layout Flag - `brmObjects.DefaultLayoutView` (string) Default Layout - `brmObjects.FormLayout` (string) Layout Name: Web Form Layout Name - `brmObjects.LayoutName` (string, required) LayoutName - `brmObjects.Id` (string, required) Id: Layout ID - `brmObjects.EntityId` (integer, required) EntityId - `brmObjects.FormAction` (string) FormAction: Web Form Action - `brmObjects.ParentKeyName` (string) ParentKeyName - `brmObjects.FormJavascript` (string) FormJavascript: Web Form Javascript - `brmObjects.ExternalKey` (string) ExternalKey: Combined with parent and uniq keys field - `brmObjects.DomainId` (integer) DomainId - `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)