---
title: "Preview configuration changes"
method: POST
path: "/api/config/diff"
tags: ["config"]
---

# Preview configuration changes

`POST /api/config/diff`

Accepts a YAML document and returns a diff summary showing what would be added, removed, changed, or kept — without applying any changes.

## Response `200`

OK

- ApiConfigDiffResult
  - `access_rules` ApiDiffCounts
    - `add` integer
    - `change` integer
    - `keep` integer
    - `remove` integer
  - `failover_groups` ApiDiffCounts
    - `add` integer
    - `change` integer
    - `keep` integer
    - `remove` integer
  - `interfaces` ApiDiffCounts
    - `add` integer
    - `change` integer
    - `keep` integer
    - `remove` integer
  - `object_groups` ApiDiffCounts
    - `add` integer
    - `change` integer
    - `keep` integer
    - `remove` integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/cubeos-app/apis/meshsat-api.md) · [All operations](https://skmtc.net/cubeos-app/apis/meshsat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubeos-app/meshsat-api/versions/c019b6af96ea/schema)
