---
title: "Reset a livestream's stream key"
method: POST
path: "/livestreams/{livestream_id}/reset-stream-key"
tags: ["Live streams"]
---

# Reset a livestream's stream key

`POST /livestreams/{livestream_id}/reset-stream-key`

Resets the stream key for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.

## Path parameters

- `livestream_id` string, required

## Response `200`

OK

- object
  - `success` boolean
  - `data` object
    - `id` string — The ID of the livestream.
    - `name` string — Name of the livestream.
    - `ingest_server` string — The server URL to which the RTMP encoder sends the video and audio data.
    - `stream_key` string — Unique key for accessing each livestream.
    - `status` 'LIVE' | 'IDLE' | 'ERRORED' | 'INVOKED'
    - `meeting_id` string — The ID of the meeting.
    - `playback_url` string — The web address that viewers can use to watch the livestream.
    - `created_at` string, date-time — Timestamp the object was created at. The time is returned in ISO format.
    - `updated_at` string, date-time — Timestamp the object was updated at. The time is returned in ISO format.
    - `disabled` string — Specifies if the livestream was disabled.

---

[API](https://skmtc.net/dyte-io/apis/dyte-rest-apis.md) · [All operations](https://skmtc.net/dyte-io/apis/dyte-rest-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dyte-io/dyte-rest-apis/revisions/f62d3edd92ae/schema)
