{
"key": "fk18xxxx",
"note": "笔记、标签等等",
"daily_quota": 10000,
"monthly_quota": 300000,
"merchant_can_sell": 1,
"enable_fetch": 0,
"fetch_keyword": "@搜索",
"fetch_max_tokens": 2000
}
curl --location --request POST 'https://oa.api2d.net/custom_key/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "fk18xxxx",
"note": "笔记、标签等等",
"daily_quota": 10000,
"monthly_quota": 300000,
"merchant_can_sell": 1,
"enable_fetch": 0,
"fetch_keyword": "@搜索",
"fetch_max_tokens": 2000
}'
{
"code": 0,
"data": {
"custom_key": {
"id": 154731,
"uid": 186009,
"key": "...",
"enabled": 1,
"point": 0,
"minute_times": 60,
"last_access_time": null,
"type_id": "290",
"created_at": "2023-05-27T04:25:45.000000Z",
"updated_at": "2023-05-27T04:27:48.000000Z",
"daily_times": 0,
"daily_quota": "10000",
"note": "2",
"monthly_times": 0,
"monthly_quota": "300000"
},
"daily_quota": "10000",
"monthly_quota": "300000"
}
}