Deletes a workspace configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiworkspace:DeleteConfig |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v1/workspaces/{WorkspaceId}/configs/{ConfigKey} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The workspace ID. |
98*** |
| ConfigKey |
string |
Yes |
The key of the configuration item. The following keys are supported:
|
tempStoragePath |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CategoryName |
string |
No |
The classification of the configuration item. The following classifications are supported:
|
CommonResourceConfig |
| Labels |
string |
No |
The filter conditions. Separate multiple conditions with commas. The conditions are combined with a logical AND. |
key1=value;key2=value2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A******C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A******C83E\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.