{
"name": "配置二",
"templateId": "2b0e36fd-dbc3-474a-bdd5-dbfc17ceae73",
"fieldValues": [
{
"name": "baseUrl",
"value": "https://api.moonshot.cn/v1"
},
{
"name": "apiKey",
"value": "sk-o7r1uKFQ4MFxXBMClZMDT9bStqluAYSLxpmo7Msmahsa0Fsl"
}
],
"remark": "一条备注",
"status": 1,
"sortOrder": 0
}curl --location --request POST 'http://prod-cn.your-api-server.com/consoleapi/key-configs' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "配置二",
"templateId": "2b0e36fd-dbc3-474a-bdd5-dbfc17ceae73",
"fieldValues": [
{
"name": "baseUrl",
"value": "https://api.moonshot.cn/v1"
},
{
"name": "apiKey",
"value": "sk-o7r1uKFQ4MFxXBMClZMDT9bStqluAYSLxpmo7Msmahsa0Fsl"
}
],
"remark": "一条备注",
"status": 1,
"sortOrder": 0
}'{
"code": 0,
"message": "string",
"data": {
"items": [
null
],
"total": 0,
"page": 0,
"pageSize": 0,
"totalPages": 0
},
"timestamp": 0
}