---
title: "Patch Settings Policy"
method: PATCH
path: "/api/settings"
tags: ["settings"]
---

# Patch Settings Policy

`PATCH /api/settings`

Update the settings policy's default profile or a specified field.

Parameters:
    body (SettingsPolicyPatchRequest): The requested profile or field update, including the expected revision.

Returns:
    SettingsPolicyResponse: The updated settings policy.

Raises:
    HTTPException: If the revision conflicts, the update is invalid, or the policy is unavailable.

## Request body

- SettingsPolicyPatchRequest
  - `revision` string, required
  - `scope` string, nullable
  - `path` string, nullable
  - `value` unknown
  - `profile` string, nullable

## Response `200`

Successful Response

- SettingsPolicyResponse
  - `revision` string, required
  - `active_profile` string, nullable
  - `default_profile` string, nullable
  - `available_profiles` string[]
  - `restart_required` boolean
  - `scopes` SettingsScopeResponse[], required
    - `name` string, required
    - `fields` SettingsFieldResponse[], required
      - `path` string, required
      - `group` string, required
      - `label` string, required
      - `value` unknown, required
      - `editor` 'text' | 'number' | 'boolean' | 'single_choice' | 'multi_choice' | 'string_list', required
      - `choices` string[]
      - `environment_overridden` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-12** `5c36e837be95` — 1 warning
  - added the new `string_list` enum value to the `scopes/items/fields/items/editor` response property for the response status `200`
- **2026-07-30** `584337d1a24c` — 12 info
  - added the new optional request property `profile`
  - the request property `path` became optional
  - the request property `scope` became optional
  - the request property `value` became optional
  - …8 more
- **2026-07-25** `7a85443866b7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/settings/patch.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/3e0490b230d7/schema)
