---
title: "Update Config"
method: PUT
path: "/config/{path}"
tags: ["Configuration Service"]
---

# Update Config

`PUT /config/{path}`

Modifies the content of existing file with the updated content.

## Path parameters

- `path` string, required

## Query parameters

- `comment` string, required

## Response `200`

OK

- ConfigId
  - `id` string — Revision number of configuration file.

## Other responses

- `401` — The supplied authentication is invalid
- `403` — The supplied authentication is not authorized to access this resource
- `404` — Not Found

## Changes

- **2019-01-30** `be3545d74098` — 1 breaking, 1 warning, 4 info
  - added required request body
  - deleted the `header` request parameter `Content-Type`
  - the endpoint scheme security `Bearer` was added to the API
  - added the media type `application/json` for the response with the status `200`
  - …2 more
- **2017-07-03** `633a938a687f` — 1 breaking
  - added the new required `header` request parameter `Content-Type`
- **2017-06-07** `46dfcb383ba3` — 2 breaking, 3 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - the endpoint scheme security `Bearer` was removed from the API
  - removed the non-success response with the status `401`
  - …1 more

[Change history](https://skmtc.dev/tmtsoftware/apis/tmt-common-software-rest-endpoints/changes/config/:path/put.md)

---

[API](https://skmtc.dev/tmtsoftware/apis/tmt-common-software-rest-endpoints.md) · [All operations](https://skmtc.dev/tmtsoftware/apis/tmt-common-software-rest-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tmtsoftware/tmt-common-software-rest-endpoints/revisions/4647870f035d/schema)
