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

Deleting a Migration Project

Function

This API is used to delete a migration project.

URI

DELETE /v1/{project_id}/migration-projects/{migration_project_id}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID of a tenant in a region.

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

migration_project_id

Yes

String

Migration project ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

migration_project_id

String

Migration project ID.

Example Request

Deleting a migration project

DELETE https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/migration-projects/16

Example Response

Status code: 200

Request succeeded.

{ 
  "migration_project_id" : "16" 
}

Status Codes

Status Code

Description

200

Request succeeded.

Error Codes

For details, see Error Codes.