# Update a live stream via the REST API - use\_stream\_source not updated

**URL:** https://community.wowza.com/t/update-a-live-stream-via-the-rest-api-use-stream-source-not-updated/96545
**Category:** Wowza Developer Dojo
**Created:** [October 6, 2023, 3:12pm UTC](https://community.wowza.com/t/update-a-live-stream-via-the-rest-api-use-stream-source-not-updated/96545 "2023-10-06T15:12:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Julien\_Legrand](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Julien\_Legrand](https://community.wowza.com/u/Julien_Legrand)
#### Post date: [October 6, 2023, 3:12pm UTC](https://community.wowza.com/t/update-a-live-stream-via-the-rest-api-use-stream-source-not-updated/96545/1 "2023-10-06T15:12:16Z")

</div>

Hi,  
I’m trying to update my live stream using the API v1.11 and I can’t manage to update the use\_stream\_source attribute. The value remains “false” whether during creation or update.  
The request response returns the correct value but during the get it is the old one that is returned.  
Can you please help me to fix my issue ?

**Here are my requests :**

**Create live stream :**  
POST [https://api.cloud.wowza.com/api/v1.11/live\_streams/](https://api.cloud.wowza.com/api/v1.11/live_streams/)  
{  
“live\_stream”: {  
“aspect\_ratio\_height”: 1080,  
“aspect\_ratio\_width”: 1920,  
“billing\_mode”: “pay\_as\_you\_go”,  
“broadcast\_location”: “eu\_belgium”,  
“delivery\_method”: “push”,  
“encoder”: “other\_rtmp”,  
“name”: “My new Live Stream”,  
“transcoder\_type”: “transcoded”,  
“low\_latency”: false,  
“use\_stream\_source”: true  
}  
}

**Update live stream :**  
PATCH [https://api.cloud.wowza.com/api/v1.11/live\_streams/[Id]](https://api.cloud.wowza.com/api/v1.11/live_streams/%5BId%5D)  
{  
“live\_stream”: {  
“name”: “My new Live Stream updated”,  
“use\_stream\_source”: false  
}  
}
