Deleting a Dump Task
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
The delete_dump_task_sample.py file provides a code sample. Configure the following parameters in this file:
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.
Last Article: Deleting a Stream
Next Article: Querying a Stream List
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.