Updated on 2023-06-21 GMT+08:00

Deleting a Stream

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

Configure the following parameter:

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 204 is returned, the stream is successfully deleted.