---
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

---

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