DeleteConfig
Deletes a single dynamic parameter for a specified service.
Operation description
Request description
This operation deletes a specific configuration item by specifying the cluster ID, configuration type, service name, and configuration item name. Ensure that the parameter values are accurate to prevent the accidental deletion of important configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DeleteConfig |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The cluster or region ID. |
cn-hangzhou |
| ConfigType |
string |
No |
The configuration type. Currently, only |
service |
| Name |
string |
No |
The service name. |
my-llm-service |
| ConfigKey |
string |
No |
The name of the configuration item to delete. |
rate_limit |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| message |
string |
The operation result message. |
Successfully deleted 1 configs |
| deleted |
integer |
The number of deleted configurations. |
1 |
Examples
Success response
JSON format
{
"message": "Successfully deleted 1 configs",
"deleted": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.