Destroy a stream

Methods: GET

Endpoint: https://www.pushrcdn.com/api/v2/stream
Parameters
  • All parameters are required!
Field Type Values Description
action string destroy Destroy a stream
id integer -- ID of the stream to be destroyed
Headers
Field Type Description
APIKEY string Account API key
Example
    curl -d "action=destroy" \
         -d "id=1268" \
         -H "Accept: application/json" \
         -H "Content-Type: application/json" \ 
         -H "APIKEY: 2d49e8f645d90818783c4e6c46f32ca0677ac401" \ 
         -X GET "https://www.pushrcdn.com/api/v2/stream"
Response
{  
   "status":"success",
   "description":"stream destroyed"
}
HTTP Code JSON Description
200 {"status":"success"} Returns confirmation
401/403/422 {"status":"error"} Returns error description