{
"api_name": "YOUR_API_NAME",
"allow_save_logs": false,
"allow_manage_key": false,
"allow_custom_model": false,
"limit_cost": 0,
"limit_daily_cost": 0,
"expired_on": 0
}
curl --location --request POST 'https://api.302.ai/dashboard/api_key' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_name": "YOUR_API_NAME",
"allow_save_logs": false,
"allow_manage_key": false,
"allow_custom_model": false,
"limit_cost": 0,
"limit_daily_cost": 0,
"expired_on": 0
}'
{
"code": 0,
"msg": "success",
"data": {}
}