---
title: "Disable a livestream"
method: PUT
path: "/livestreams/{livestream_id}/disable"
tags: ["Live streams"]
---

# Disable a livestream

`PUT /livestreams/{livestream_id}/disable`

## Request

- Base URL: `https://api.dyte.io/v2`
- URL: `https://api.dyte.io/v2/livestreams/{livestream_id}/disable`
- Auth: HTTP basic

Disables a livestream 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
  - `LivestreamBase` LivestreamBase
    - `status` 'LIVE' | 'IDLE' | 'ERRORED' | 'INVOKED': The status of the livestream.
    - `name` string, nullable: Name of the livestream.
    - `meeting_id` string, nullable: ID of the meeting.
    - `ingest_server` string: The server URL to which the RTMP encoder sends the video and audio data.
    - `id` string: The livestream ID.
    - `stream_key` string: Unique key for accessing each livestream.
    - `playback_url` string: The web address that viewers can use to watch the livestream.
    - `created_at` string, date-time: The timestamp at which the livestream was created. The time is returned in ISO format.
    - `updated_at` string, date-time: The timestamp at which the livestream was updated. The time is returned in ISO format.
    - `disabled` boolean: Specifies if the livestream was disabled.
    - `org_id` string

## Changes

- **2025-04-04** (v2) `cb67ff854c71`: 1 breaking, 1 warning, 2 info
  - added the new path request parameter `livestream_id`
  - removed the optional property `data` from the response with the `200` status
  - the endpoint scheme security `Authorization` was added to the API
  - added the optional property `LivestreamBase` to the response with the `200` status
- **2025-04-03** (v2) `68b9e665bfcc`: 2 warning, 2 info
  - deleted the `path` request parameter `livestream_id`
  - removed the optional property `LivestreamBase` from the response with the `200` status
  - the endpoint scheme security `Authorization` was removed from the API
  - added the optional property `data` to the response with the `200` status
- **2024-11-20** (v2) `d8c5d90e84ac`: 1 breaking, 1 warning, 2 info
  - added the new path request parameter `livestream_id`
  - removed the optional property `data` from the response with the `200` status
  - the endpoint scheme security `Authorization` was added to the API
  - added the optional property `LivestreamBase` to the response with the `200` status
- **2023-07-18** (v2) `a68b59b9362c`: 1 warning
  - removed the optional property `data/external_id` from the response with the `200` status

[Operation history](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/changes/livestreams/:livestream_id/disable/put.md)

---

[API](https://skmtc.dev/dyte-io/apis/dyte-rest-apis.md) - [All operations](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/revisions/f62d3edd92ae?raw)
