Destroy a stream.
Endpoint
https://www.pushrcdn.com/api/v3/streams/destroy
Methods
POST
Parameters
Field | Type | Description |
id | integer | Id of the stream |
Headers
Field | Type | Description |
APIKEY | string | Your 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
HTTP | JSON | Description |
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 |