Authorization: Bearer ********************curl --location --request PUT 'https://localhost:50123/rest/v3/sites/protect' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{
"group_id":"1",
"0":{
"protect_obj_id":"200000",
"type": "1",
"ip":"4.4.4.6-4.4.4.160",
"port":"443",
"webaccess_enabled": "true",
"host_access_stat_enabled": "true",
"http_protocol_validation_warn_flag": "true",
"tcp_forward_for_valid_protocal_enabled":"0",
"cert": "nsfocus.cer",
"ssl_unload": "true",
"client_version": "2,3",
"server_port":"1010",
"server_version": "2,3,4",
"gzip_transport": "false"
}
}'
{"result":"Site ID or site name is required"}