Help Center/ Cloud Service Engine/ API Reference/ CSE API/ Dynamic Configuration/ Deleting the ServiceComb 1.0 Configuration Scope
Updated on 2025-04-25 GMT+08:00

Deleting the ServiceComb 1.0 Configuration Scope

Function

This API is used to delete the ServiceComb 1.0 configuration scope.

URI

DELETE /v3/{project_id}/govern/configs/{dimension}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which must be unique. The value contains 1 to 64 characters.

dimension

Yes

String

Configuration scope name.

Request

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

X-Enterprise-Project-ID

No

String

If this parameter is not set, the default enterprise project is default and the ID is 0.

Default value: 0

Content-Type

Yes

String

Set it to application/json;charset=UTF-8.

Accept

Yes

String

Set it to application/json.

X-ENVIRONMENT

No

String

Environment name.

Table 3 Body parameters

Parameter

Mandatory

Type

Description

dimensionInfo

No

String

Configuration scope information.

flush

No

String

Whether to refresh.

keys

No

Array of String

Key to be deleted.

Response

Status code: 200
Table 4 Response body parameters

Parameter

Type

Description

Result

String

Deletion result.

Status code: 400
Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

detail

String

Location details.

Status code: 500
Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

detail

String

Location details.

Example Request

DELETE https://{endpoint}/v3/{project_id}/govern/configs/{dimension}

{
  "dimensionInfo": "string",
  "flush": "true",
  "keys": [
    "string"
  ]
}

Example Response

Status code: 200

OK

{
  "Result": "Success"

}

Status Code

Status Code

Description

200

OK

400

Bad Request

500

Internal Server Error

Error Code

See Error Codes.