---
title: "Update a stream"
method: PATCH
path: "/stream/{id}"
---

# Update a stream

`PATCH /stream/{id}`

## Request body

- StreamPatchPayload
  - `creatorId` union
    - CreatorId
      - `type` 'unverified', required
      - `value` string, required — Developer-managed ID of the user who created the resource.
    - string — Helper syntax to specify an unverified creator ID, fully managed by the developer.
  - `record` Record — unresolved $ref
  - `suspended` Suspended — unresolved $ref
  - `multistream` Multistream — unresolved $ref
  - `playbackPolicy` PlaybackPolicy — Whether the playback policy for a asset or stream is public or signed
    - `type` 'public' | 'jwt' | 'webhook', required
    - `webhookId` string — ID of the webhook to use for playback policy
    - `webhookContext` object — User-defined webhook context
    - `refreshInterval` number — Interval (in seconds) at which the playback policy should be refreshed (default 600 seconds)
  - `profiles` Profiles — unresolved $ref
  - `userTags` UserTags — unresolved $ref

## Response `204`

Success

## Other responses

- `default` — Error

## Changes

- **2024-03-29** `b9e5350658ff` — 3 breaking
  - removed the enum value `HEVC` of the request property `profiles/items/encoder`
  - removed the enum value `VP8` of the request property `profiles/items/encoder`
  - removed the enum value `VP9` of the request property `profiles/items/encoder`
- **2024-02-21** `76817ecf8cf2` — 4 breaking, 4 info
  - removed the enum value `h264` of the request property `profiles/items/encoder`
  - removed the enum value `hevc` of the request property `profiles/items/encoder`
  - removed the enum value `vp8` of the request property `profiles/items/encoder`
  - removed the enum value `vp9` of the request property `profiles/items/encoder`
  - …4 more
- **2024-02-12** `49c8b106f5ff` — 1 info
  - added the new optional request property `playbackPolicy/refreshInterval`

[Change history](https://skmtc.dev/livepeer/apis/livepeer-api-reference/changes/stream/:id/patch.md)

---

[API](https://skmtc.dev/livepeer/apis/livepeer-api-reference.md) · [All operations](https://skmtc.dev/livepeer/apis/livepeer-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livepeer/livepeer-api-reference/revisions/fe72cbbf5a9b/schema)
