Activates or deactivates a policy by changing the policy mode to active or inactive.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
policyId | Mandatory | string ($uuid) | Enter a policy name of up to 150 characters. |
Request body | Mandatory | - | - |
API Request
curl -X "PUT"
"<qualys_base-url>/csapi/v1.3/centralizedPolicy/7a64bbd7-67a8-4c39-981e-
6345c62bacb2/mode"
-H "accept: application/json"
-H "Authorization: Bearer <token>"
-H "Content-Type: application/json"
Request Body
{
"policyMode": "INACTIVE"
}
Response
{
"uuid": "7a64bbd7-67a8-4c39-981e-6345c62bacb2"
}
Was this topic helpful?