curl --location '/sys-config/save' \
--header 'token: ekLdVaiYeQeY72CPPlt2B96IMRvEGPmdIueYEQYKXFmIODO5eaxVzIqKhLdTyVfwBCOXpQSE8aLYjtunxt6gz7hPB4jTo5ycgqu6UHc62TdhQjyBX0YbOa02c6acQPnO' \
--header 'Content-Type: application/json' \
--data '{
"category": "server_params",
"configItems": [
{
"configKey": "server_ip",
"configValue": "117.72.33.218",
"description": "服务器IP地址",
"isRequired": 0
},
{
"configKey": "server_username",
"configValue": "admin",
"description": "服务器登录用户名",
"isRequired": 0
},
{
"configKey": "server_password",
"configValue": "1234567890",
"description": "服务器登录密码",
"isRequired": 0
},
{
"configKey": "ssl_cert_dir",
"configValue": "/root/ssl",
"description": "SSL证书存放目录",
"isRequired": 0
}
]
}'