---
title: "Reset Setting"
method: DELETE
path: "/api/v1/setting/{key}"
tags: ["Setting"]
---

# Reset Setting

`DELETE /api/v1/setting/{key}`

Reset a setting item to default

## Path parameters

- `key` string, required

## Response `200`

OK

- Setting
  - `key` string, required — Key of setting
  - `value` unknown, required
  - `hidden` boolean, nullable — Hidden setting or not
  - `restart_service` boolean, required — Restart service or not to apply setting

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error

## Changes

- **2026-07-17** `4b7c0ce8c025` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-07-21** `69284996eaa6` — 1 breaking
  - response property `hidden` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2025-06-24** `0c09cad5e8d9` — 2 breaking, 1 info
  - response property `detail/items/loc/items/` list-of-types was widened by adding types `integer` to media type `application/json` of response `422`
  - removed the success response with the status `204`
  - added the success response with the status `200`
- **2022-08-19** `033c8fe2fe57` — 1 breaking, 2 warning, 2 info
  - removed the success response with the status `200`
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - response property `detail/items/loc/items/` list-of-types was narrowed by removing types `integer` from media type `application/json` of response `422`
  - …1 more

[Change history](https://skmtc.dev/openstack/apis/skyline-api/changes/api/v1/setting/:key/delete.md)

---

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