UpdateConfig
Updates or creates workspace configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiworkspace:UpdateConfig |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/workspaces/{WorkspaceId}/config HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The ID of the workspace. |
1234******2 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request parameters. |
|
| ConfigKey |
string |
No |
The key of the configuration item. The following keys are supported:
|
tempStoragePath |
| ConfigValue |
string |
No |
The value of the configuration item. |
oss://*** |
| CategoryName |
string |
No |
The classification of the configuration item. The following classifications are supported:
|
CommonResourceConfig |
| Labels |
array<object> |
No |
The list of labels for the configuration item. |
|
|
object |
No |
A label for the configuration item. |
||
| Key |
string |
No |
The key of the label. |
key1 |
| Value |
string |
No |
The value of the label. |
value1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A******C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A******C83E\n"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.