Updated on 2024-04-08 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

task_ids

Yes

Array of strings

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.