Deleting a Dump Task

Function

This API is used to delete a dump task.

When deleting a dump task, you need to specify the stream name and dump task name.

URI

  • URI format

    DELETE /v2/{project_id}/streams/{stream_name}/transfer-tasks/{transfer_task_name}

  • Parameter description

    None

Request

  • Example request
    DELETE https://{endpoint}/v2/{project_id}/streams/stream_test/transfer-tasks/task_test
  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    stream_name

    Yes

    String

    Name of the DIS stream to be queried.

    transfer_task_name

    Yes

    String

    Name of the dump task.

Response

  • If the operation is successfully performed, status code 204 is returned and the response message body is empty.
  • If the operation failed to be performed, identify the failure cause according to the response body and the instructions in Error Codes.

Response Code

  • Normal

    204 No Content

  • Failed

    For more information, see Error Codes.