Updated on 2023-12-27 GMT+08:00

Deleting a Migration Task

Function

This API is used to delete a migration task.

In-progress tasks cannot be deleted. If the deletion is performed, the system will return a message indicating the deletion failure.

URI

DELETE /v1/{project_id}/objectstorage/task/{task_id}

Table 1 describes the parameters in the URI.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

task_id

Yes

Specifies the task ID.

Request

Request Parameters

None.

Response

Response Parameters

None.

Examples

Request example

DELETE /v1/{project_id}/objectstorage/task/{task_id}

Response example

None.

Status Code

For details about the status code, see Status Code.