curl --location --request PUT 'https://api.flashcat.cloud/api/n9e-plus/pingmesh/idcs/ping/rule' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 13,
"default": true,
"source_idc_id": -1,
"target_idc_id": -1,
"settings": [
{
"protocol": "tcp",
"ports": [
"qos:2000"
]
},
{
"protocol": "udp",
"ports": [
"normal:1999"
]
},
{
"protocol": "icmp",
"ports": []
}
],
"net_ident_percent": 100
}'{
"dat": [
{
"id": 13,
"default": true,
"source_idc_id": -1,
"source_idc_name": "",
"target_idc_id": -1,
"target_idc_name": "",
"settings": [
{
"protocol": "tcp",
"ports": [
"qos:2000"
]
},
{
"protocol": "udp",
"ports": [
"normal:1999"
]
},
{
"protocol": "icmp",
"ports": []
}
],
"net_ident_percent": 100,
"create_time": 1696833394,
"update_time": 1696833650,
"create_by": "root",
"update_by": "root"
}
],
"err": ""
}