Updated on 2023-08-29 GMT+08:00

Deleting a Metadata Migration Task

Function

This API is used to delete a metadata migration task.

URI

DELETE /v2/{project_id}/instances/{instance_id}/metadata

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain it, see Obtaining a Project ID.

instance_id

Yes

String

Instance ID.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

taskIds

No

Array of strings

List of tasks to be deleted.

Response Parameters

None

Example Requests

This API is used to delete a metadata migration task.

DELETE https://{endpoint}/v2/{project_id}/instances/{instance_id}/metadata

Example Responses

None

Status Codes

Status Code

Description

200

Status code.

Error Codes

See Error Codes.