Updated on 2026-01-08 GMT+08:00

Replicating a Parameter Template

API Description

This API is used to replicate a parameter template.

Restrictions

  • Only custom parameter templates can be replicated.
  • The name of the parameter template cannot be the same as that of the default or an existing parameter template.

URI

  • URI format

    POST https://{Endpoint}/v3/{project_id}/configurations/{config_id}/copy

Table 1 Path parameters

Parameter

Type

IN

Mandatory

Description

project_id

string

path

Yes

Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID.

Table 2 Path parameters

Parameter

Mandatory

Type

Description

config_id

Yes

String

ID of the parameter template to be replicated.

Request Parameters

Table 3 Request header parameters

Parameter

Type

IN

Mandatory

Description

X-Auth-Token

string

header

Yes

User token

Table 4 Request body parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Name of the replicated parameter template.

The parameter template name can contain 1 to 64 characters. It can contain only letters, digits, hyphens (-), underscores (_), and periods (.).

description

No

String

Parameter template description.

The value is left blank by default. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=

  • Example request
    {
      "name" : "paramsGroup-2434",
      "description" : "Replicate a parameter template",
    }

Response Parameters

Table 5 Response body parameters

Name

Type

Description

configuration_id

String

ID of the replicated parameter template.

  • Example response
{ 
    "configuration_id": "7b4e07852bd54016906e89461b3182cdpr02"
 }

Status Code

For details, see Status Code.

Error Code

For details, see Error Code.