Deleting a Stream

Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.

The deleteStream_sample.py file provides a code sample. Configure the following parameter in this file:

1
streamname = ""  #Name of an existing stream.

After configuring the parameter, run the deleteStream_sample.py file to call deleteStream_test by default. If response code 201 is returned, the stream is successfully deleted.