Modifying the Name of a DDM Instance

Function

This API is used to modify the name of a DDM instance.

URI

PUT /v1/{project_id}/instances/{instance_id}/modify-name

URI to be discarded: PUT /v1/{project_id}/instances/{instance_id}/modify_name

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Project ID of a tenant in a region

instance_id

Yes

DDM instance ID

Request

Request parameters

Table 2 Parameter description

Parameter

Mandatory

Type

Description

name

Yes

String

Name of a DDM instance, which:

  • Consists of 4 to 64 characters.
  • Must start with a letter and contains only letters, digits, and hyphens (-).

Response

Response parameters

Parameter

Type

Mandatory

Description

name

String

Yes

Modified name of the DDM instance

Example

  • Example request
    {"name":"ddm-test"}
  • Example response
    {"name":"ddm-test"}

For failure responses, see Abnormal Request Results.

Status Code

For details, see Status Codes.