Updated on 2024-10-25 GMT+08:00

Deleting a Dump Task

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

Configure the following parameters:

1
2
streamname = ""  #Name of an existing stream.
task_name="xx"

After configuring task_name, the dump task will be deleted from the stream.

After configuring the parameters, run the delete_dump_task_sample.py file to call delete_dump_task_test by default. If response code 204 is returned, the dump task is successfully deleted.