---
title: "Update the layouts for the given scope i.e. the widget."
method: PUT
path: "/builder/widget/scope/layouts"
tags: ["BUILDER"]
---

# Update the layouts for the given scope i.e. the widget.

`PUT /builder/widget/scope/layouts`

## Request body

- LayoutRequest
  - `layouts` LayoutItem[]
    - `_scope_id` integer
    - `h` integer
    - `resizeHandles` string[]
    - `w` integer
    - `x` integer
    - `y` integer

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/middleware/apis/middleware-api.md) · [All operations](https://skmtc.net/middleware/apis/middleware-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/middleware/middleware-api/revisions/614091456d31/schema)
