---
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

---

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