Specify the ID of an existing rule you want to disable and the rule gets disabled.
Parameter |
Mandatory/Optional | Data Type |
Description |
---|---|---|---|
ruleIds |
Mandatory | Array[String] |
Specify the ID of an rule to be deleted and the rule gets disabled. You can provide multiple Ids separated by comma. Example: { "ids": [ "string" ] } |
API request
curl -k -X POST-u <username>:<password>
'https://<QualysBaseURL>/cloudview-api/rest/v1/rules/disable'
Request POST Data
{
"ids": [
"1a841990-5dff-11ea-a923-6b29e6c4cbec",
"efbf4080-52dd-11ea-a008-cbe911ab6a51"
]
}
Response
No Content
Response Code: 200