POST
/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams/{Sid}.jsonStop a media Stream
Stops a media Stream associated with a call. Identify the Stream with either its Sid or the name supplied when it was created, and submit the required stopped status. The response contains the Stream resource with its updated status.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
AccountSidstringrequired
The unique identifier of the account that created the Stream resource. Must be a 34-character SID beginning with `AC`.
CallSidstringrequired
The unique identifier of the call associated with the Stream resource. Must be a 34-character SID beginning with `CA`.
Sidstringrequired
The SID or creation name of the Stream resource to stop.
Form-encoded status update for stopping a Stream resource.
Statusstringrequired
The new Stream status. Must be `stopped`.
200Returns the stopped Stream object, including its SID, associated account and call, name, status, last-updated timestamp, and resource URI.
sidstringoptional
The SID of the Stream resource.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
call_sidstringoptional
The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with.
namestringoptional
The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream.
statusstringoptional
The status of the Stream. Possible values are `stopped` and `in-progress`.
date_updatedstringoptional
The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.
Error handling
AccountSid must be a 34-character account SID beginning with AC, and CallSid must be a 34-character call SID beginning with CA. Sid must identify the Stream resource or its creation name, and Status must be stopped.