# Update a restream by ID

```
PATCH 
/restreams/:id
```

Only stopped restreams can be updated (409 `not_stopped` otherwise). The combination of `type`, `src` and `target` is validated as on creation: New restreams require a managed RTMP/SRT ingest or visible engine on a region advertising restream support. Either source supports RTMP(S) and SRT targets independently of the source protocol. Push (the default mode) requires target; pull requires protocol and no target, returning a credential-bearing url. Existing restreams in older regions retain start/stop support. Returns 400 restream\_source\_not\_found, restream\_source\_not\_supported or restream\_target\_not\_supported for invalid selections. Adding the first engine restream to a running engine requires restarting the engine (stop and start) to enable restreaming for it.

## Request

## Responses

**200**

Updated restream

**503**

Region information is temporarily unavailable; retry the request.
