---
title: "Set live version of a connection"
method: PUT
path: "/token/connections/{connectionId}/versions/live"
tags: ["Vault Proxy Connections"]
---

# Set live version of a connection

`PUT /token/connections/{connectionId}/versions/live`

Set certain version of connection as live version or deactivates connection by removing current live version.

## Path parameters

- `connectionId` string, uuid, required

## Request body

- object
  - `liveVersionId` string, nullable — ID of the version to make live or null if you want connection to have no live version (deactivate connection).

## Response `202`

Version that is set to live.

- object
  - `liveVersionId` string, uuid, nullable, required — The ID of the version that is set to live.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Insufficient Scope.
- `404` — Not Found.
- `422` — Unprocessable Entity.

---

[API](https://skmtc.net/payrails/apis/payrails-api-reference.md) · [All operations](https://skmtc.net/payrails/apis/payrails-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payrails/payrails-api-reference/revisions/9dd2f0158582/schema)
