---
title: "Reset Active Version Of Config"
method: PUT
path: "/active-version/{path}"
tags: ["Configuration Service"]
---

# Reset Active Version Of Config

`PUT /active-version/{path}`

Sets the current active version of file to the master (latest version of file).

## Path parameters

- `path` string, required

## Query parameters

- `comment` string, required

## Response `200`

OK

## 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` — 3 info
  - the endpoint scheme security `Bearer` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2017-06-07** `46dfcb383ba3` — 3 info
  - the endpoint scheme security `Bearer` was removed from the API
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/tmtsoftware/apis/tmt-common-software-rest-endpoints/changes/active-version/: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)
