---
title: "PUT /api/setting/{key}"
method: PUT
path: "/api/setting/{key}"
tags: ["/api/setting"]
---

# PUT /api/setting/{key}

`PUT /api/setting/{key}`

Create/update a `Setting`. If called by a non-admin, only user-local settings can be updated.
   This endpoint can also be used to delete Settings by passing `nil` for `:value`.

## Path parameters

- `key` string, required

## Request body

- object
  - `value` unknown, required

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

## Changes

- **2026-03-09** `78297d193ca4` — 1 info
  - api operation id `put-api-setting-key` was added

[Change history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/setting/:key/put.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) · [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/b1dc4ea67567/schema)
