---
title: "PUT /domains/{domainId}/layouts/{layoutId}"
method: PUT
path: "/domains/{domainId}/layouts/{layoutId}"
---

# PUT /domains/{domainId}/layouts/{layoutId}

`PUT /domains/{domainId}/layouts/{layoutId}`

Updates the attributes of an existing layout.

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

A `ValidationException` is returned when you add non-existent `fieldIds` to a layout.

Title and Status fields cannot be part of layouts because they are not configurable.

## Path parameters

- `domainId` string, required
- `layoutId` string, required

## Request body

- object
  - `name` string — The name of the layout. It must be unique per domain.
  - `content` object — Object to store union of different versions of layout content.
    - `basic` object — Content specific to <code>BasicLayout</code> type. It configures fields in the top panel and More Info tab of Cases user interface.
      - `topPanel` object — This represents sections in a panel of the page layout.
        - `sections` Section[] — Ordered list containing different kinds of sections that can be added.
          - `fieldGroup` object — Consists of a group of fields and associated properties.
            - `name` string — Name of the field group.
            - `fields` FieldItem[], required — Represents an ordered list containing field related information.
              - …
      - `moreInfo` object — This represents sections in a tab of the page layout.
        - `sections` Section[] — Ordered list containing different kinds of sections that can be added.
          - `fieldGroup` object — Consists of a group of fields and associated properties.
            - `name` string — Name of the field group.
            - `fields` FieldItem[], required — Represents an ordered list containing field related information.
              - …

## Response `200`

Success

- UpdateLayoutResponse

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException
- `485` — ConflictException
- `486` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/connectcases.md) · [All operations](https://skmtc.net/aws/apis/connectcases/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connectcases/versions/2533502f9155/schema)
