CreateGeneralConfig
General configurations — Create
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table lists the authorization information of this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details:
- For required resource types, an asterisk (*) is prefixed.
- For operations that do not support resource-level authorization,
All Resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: the other permissions required to successfully perform the operation. The caller must also have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:CreateGeneralConfig | create | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | Unique identifier of the Model Studio workspace: Get the workspace ID | llm- |
| ConfigKey | string | Yes | Unique identifier of the configuration item. Currently supported keys:
| xxxx |
| ConfigValue | string | Yes | Value of the configuration item | xxx |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Response result | ||
| Code | string | Status code | DataNotExists |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error message | Data does not exist |
| RequestId | string | Unique request identifier | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Success | boolean | Indicates whether the request is successful: true for success, false for failure | false |
| Data | object | Result | |
| ConfigKey | string | Unique identifier of the configuration item | xx |
| ConfigValue | string | Configuration value | xx |
| ConfigValueType | string | Configuration type | xx |
| ConfigDesc | string | Configuration description | xx |
Examples
Success response
JSON format
{
"Code": "DataNotExists",
"HttpStatusCode": 200,
"Message": "数据不存在",
"RequestId": "3f7045e099474ba28ceca1b4eb6d6e21",
"Success": false,
"Data": {
"ConfigKey": "xx",
"ConfigValue": "xx",
"ConfigValueType": "xx",
"ConfigDesc": "xx"
}
}
Error codes
Visit the Error Center to view more error codes.
Release notes
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-12 | OpenAPI added | View change details |