{
"id": 1,
"type": 1,
"channel": "gpt3.5",
"rule": "The OpenAI account associated",
"prompt": "key关联账号已被停用",
"status": 0
}
curl --location --request POST '/adminapi/setting.KeyRule/edit?id=1' \
--header 'token: {{adminToken}}' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"type": 1,
"channel": "gpt3.5",
"rule": "The OpenAI account associated",
"prompt": "key关联账号已被停用",
"status": 0
}'
{
"code": 1,
"show": 0,
"msg": "编辑成功",
"data": []
}