---
title: "Switches connection's current version(snapshot) by provided connection ID and snapshotId"
method: PUT
path: "/connection/{connectionId}/switch-version/{snapshotId}"
tags: ["Connection"]
---

# Switches connection's current version(snapshot) by provided connection ID and snapshotId

`PUT /connection/{connectionId}/switch-version/{snapshotId}`

## Path parameters

- `connectionId` integer, required
- `snapshotId` string, required

## Response `200`

Connection has been successfully updated

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

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