---
title: "Update RTStream"
method: PATCH
path: "/rtstream/{stream_id}/"
tags: ["RTStream"]
---

# Update RTStream

`PATCH /rtstream/{stream_id}/`

## Path parameters

- `stream_id` string, required

## Request body

- object
  - `name` string
  - `sample_rate` integer

## Response `200`

RTStream updated

- object
  - `success` boolean
  - `data` RTStream
    - `id` string
    - `name` string
    - `status` 'connected' | 'stopped'
    - `sample_rate` integer
    - `media_types` string[]
    - `collection_id` string
    - `store` boolean
    - `created_at` string, date-time

## Other responses

- `400` — Invalid fields

## Changes

- **2026-02-12** `fd78812f318f` — 1 info
  - endpoint added
- **2026-01-23** `7d19a3906d5b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/video-db/apis/videodb-server-api/changes/rtstream/:stream_id/patch.md)

---

[API](https://skmtc.dev/video-db/apis/videodb-server-api.md) · [All operations](https://skmtc.dev/video-db/apis/videodb-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/video-db/videodb-server-api/revisions/fd78812f318f/schema)
