Destroy a stream

Destroy a stream.

Endpoint

https://www.pushrcdn.com/api/v3/streams/destroy

Methods

POST

Parameters

FieldTypeDescription
idintegerId of the stream

Headers 

FieldTypeDescription
APIKEYstringYour account API key

Example: Destroy stream #2076

curl -d "id=2076" \
     -H "APIKEY: 2d49e8f645d90818783c4e6c46f32ca0677ac401" \
     -X POST "https://www.pushrcdn.com/api/v3/streams/destroy"

Response

HTTPJSONDescription
200{"status":"success"}Stream is destroyed
401{"status":"error","description":"msg"}Wrong API key or zone ID
520{"status":"error","description":"msg"}Please contact support
422{"status":"error","description":"msg"}Missing ID parameter