v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBGovernance Controls
Update a governance control
Update the detection, notification, and mitigation configuration of a governance control. Only the attributes present in the request are modified. Changing the mitigation type or its parameters may require additional permissions.
patch/api/v2/governance/control/{detection_type}
Path parameters
detection_typestring required
The detection type that identifies the control, for example unused_api_keys.
Request body
Example request
{
"data": {
"attributes": {
"detection_frequency": "daily",
"mitigation_type": "revoke_api_key",
"name": "Unused API Keys",
"notification_frequency": "daily",
"notification_type": "slack"
},
"id": "0d4e6f8a-1b2c-3d4e-5f6a-7b8c9d0e1f2a",
"type": "governance_control"
}
}Response
OK