---
title: "PUT /widgets/{id}"
method: PUT
path: "/widgets/{id}"
---

# PUT /widgets/{id}

`PUT /widgets/{id}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/widgets/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/widgets/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an entry

## Request body `*/*`

- object
  - `title` string: Widget title
  - `position` string: Widget position
  - `widget` string: The type of widget
  - `params` unknown[]: A list of key value pairs
    - unknown
  - `menu` unknown[]: A list of menu item assignments
    - unknown

## Response `200`

Successful record update

## Other responses

- `404`: Record not found
- `415`: Invalid data

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
