Updates or creates workspace configurations in batches.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiworkspace:UpdateConfigs |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/workspaces/{WorkspaceId}/configs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The workspace ID. |
83*** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Configs |
array<object> |
No |
A list of workspace configurations to update or add. |
|
|
array<object> |
No |
A workspace configuration to update or add. |
||
| 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://test/s/ |
| CategoryName |
string |
No |
The category of the configuration item. The following categories are supported:
|
CommonResourceConfig |
| Labels |
array<object> |
No |
A list of tags for the configuration item. |
|
|
object |
No |
A tag for the configuration item. |
||
| Key |
string |
No |
The key of the tag. |
key1 |
| Value |
string |
No |
The value of the tag. |
value1 |
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.