Updated on 2022-08-02 GMT+08:00

Deleting a Migration Task by Task ID

Function

This API is used to delete a migration task based on a specified ID.

You can delete a task only when the task status is READY, ABORT, FAIL, or SUCCESS.

URI

DELETE /v1/sms/tasks/{task_id}

For details about the parameters, see Table 1.
Table 1 Parameter description

Parameter

Mandatory

Description

task_id

Yes

Specifies the task ID.

Request

N/A

Response

N/A

Example

  • Example request

    None

  • Example response

    None

Status Codes

See Status Codes.