Updated on 2025-12-02 GMT+08:00

Deleting a Parameter Template

Description

This API is used to delete a specified parameter template.

Constraints

  • This API applies only to DDS Community Edition.
  • Default parameter templates cannot be deleted.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    dds:configuration:delete

    write

    -

    -

    dds:param:delete

    -

URI

  • URI format

    DELETE /v3/{project_id}/configurations/{config_id}

  • URI example

    https://dds.ap-southeast-1.myhuaweicloud.com/v3/056538411200d4cd2f79c003c7606412/configurations/7a8d539ba30f43adaf1b16d08b1df4bdpr02

Table 1 Request Parameters

Name

Type

IN

Mandatory

Description

X-Auth-Token

String

header

Yes

Definition

User token obtained from IAM. For details, see Authentication.

Constraints

N/A

Range

N/A

Default Value

N/A

project_id

String

path

Yes

Definition

Project ID of a tenant in a region. To obtain the project ID, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

config_id

String

path

Yes

Definition

Parameter template ID.

Constraints

N/A

Range

N/A

Default Value

N/A

Request

None

Response

None

SDK

Click Document Database Service DDS SDK to download the SDK or view the SDK document. To learn how to install and authenticate an SDK, read the Usage section.

Status Code

For more information, see Status Code.

Error Code

For more information, see Error Code.