---
title: "Regenerate the connection code for a live stream"
method: PUT
path: "/live_streams/{id}/regenerate_connection_code"
tags: ["live_streams"]
---

# Regenerate the connection code for a live stream

`PUT /live_streams/{id}/regenerate_connection_code`

This operation regenerates the connection code of a live stream.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `live_stream` object, required
    - `connection_code` string — A six-character, alphanumeric string that allows certain encoders, including Wowza Streaming Engine and the Wowza GoCoder app, to connect with Wowza Video. The code can be used once and expires 24 hours after it's created.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation.md) · [All operations](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wowza/wowza-video-rest-api-reference-documentation/versions/157b6f741f2a/schema)
