curl --location --request POST 'https://api.flashcat.cloud/monit/rule/update/fields?app_key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
0
],
"fields": [
"labels"
],
"labels": {
"property1": "string",
"property2": "string"
},
"ds_type": "string",
"ds_list": [
"string"
],
"ds_ids": [
0
],
"enabled": true,
"debug_log_enabled": true,
"cron_pattern": "string",
"delay_seconds": 0,
"enabled_times": [
{
"days": [
0
],
"stime": "string",
"etime": "string"
}
],
"annotations": {
"property1": "string",
"property2": "string"
},
"description": "string",
"channel_ids": [
0
],
"repeat_interval": 0,
"repeat_total": 0
}'