---
title: "Updates an add-on configuration for given ID and returns the old configuration."
method: PUT
path: "/addons/{addonId}/config"
tags: ["addons"]
---

# Updates an add-on configuration for given ID and returns the old configuration.

`PUT /addons/{addonId}/config`

## Path parameters

- `addonId` string, required

## Query parameters

- `serviceId` string

## Request body

- object

## Response `200`

OK

- string

## Other responses

- `204` — No old configuration
- `404` — Add-on does not exist
- `500` — Configuration can not be updated due to internal error

---

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