---
title: "Update widget"
method: POST
path: "/widget.v2.WidgetService/UpdateWidget"
tags: ["Widget (gRPC)"]
---

# Update widget

`POST /widget.v2.WidgetService/UpdateWidget`

## Request

- Base URL: `https://api.kiloiot.io`
- URL: `https://api.kiloiot.io/widget.v2.WidgetService/UpdateWidget`
- Auth: API key in header `X-API-Key` and API key in header `X-Organization-Id`

Update widget type or configuration.

**Protocol:** gRPC

**Service:** `widget.v2.WidgetService`

**Method:** `UpdateWidget`

**Required scope:** `dashboards:write`

## Response `200`

Successful gRPC response

## Other responses

- `401`: Missing or invalid API key
- `403`: Insufficient permissions (missing required scope)

---

[API](https://skmtc.dev/kiloiot/apis/kiloiot-public-api.md) · [All operations](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/revisions/faf39bde186c?raw)
