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

Checking Target Database Permissions

Function

This API is used to check target database permissions.

URI

POST /v1/{project_id}/migration-projects/{migration_project_id}/permission-check

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

None.

Example Request

Checking target database permissions

POST https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/migration-projects/221/permission-check

Example Response

None.

Status Codes

Status Code

Description

202

Request succeeded.

Error Codes

For details, see Error Codes.