---
title: "Save device configuration"
method: PUT
path: "/api/device-registry/{id}/config"
tags: ["devices"]
---

# Save device configuration

`PUT /api/device-registry/{id}/config`

Saves a new YAML configuration version for a device. The YAML is validated before saving.

## Path parameters

- `id` integer, required

## Request body

- object

## Response `201`

Created

- ApiDeviceConfigVersionResponse
  - `comment` string
  - `created_at` string
  - `version` integer
  - `yaml` string

## Other responses

- `400` — invalid YAML or missing fields
- `404` — device not found

---

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