Files
doc-exports/docs/ddm/api-ref/en-us_topic_0000002298790216.html
wangdengke2 823df869a9 ddm_api
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2026-03-03 12:01:43 +00:00

16 KiB

Creating a Parameter Group (a V3 API)

Function

This API is used to create a parameter group.

Constraints

None

URI

POST /v3/{project_id}/configurations

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Project ID of a tenant in a region

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.

Content-Type

Yes

String

MIME type of the request body. Value range:

  • application/json
  • application/json;charset=utf-8
Table 3 Request body parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Parameter group name

description

Yes

String

Parameter group description

If the description contains more than 256 characters, the parameter group can still be created. The first 256 characters will be automatically used.

Example Request

Creating a parameter group
POST https://ddm.eu-de.otc.t-systems.com/v3/74f57817ca8f42e19318eb0e0ad41d18/configurations
{
  "name": "param1688972688",
  "description": "test"
}

Response

  • Normal response
    Table 4 Response body parameters

    Parameter

    Type

    Description

    id

    String

    Parameter group ID

    name

    String

    Parameter group name

  • Normal response example
    {
      "id": "404f3bbb8a724f7697e7fb15a1b09370pr09",
      "name": "param1688972688"
    }
  • Abnormal response

    For details, see Abnormal Request Results.

Status Codes

Error Codes

For details, see Error Codes.