Update Block
PUT {{cb_url}}/device_control/v3/orgs/{{cb_org_key}}/blocks/{{cb_device_control_id}}
Update a specific block, for example to change whether approved windows devices allow write or not.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
org.policies | UPDATE |
external-device.enforce | UPDATE |
{
"id": "<string>",
"windows": {
"approved_devices": {
"allow_write": <boolean>,
"allow_execute":<boolean> }
}
}
Request Body
{"id"=>"{{cb_device_control_id}}", "windows"=>{"approved_devices"=>{"allow_write"=>true, "allow_execute"=>false}}}
RESPONSES
status: OK
{"id":"07b64fc9-633b-39b4-a905-16eb021f376a","policy_id":"12345678","created_at":"2023-12-11T21:49:00Z","updated_at":"2023-12-11T23:49:41Z","windows":{"approved_devices":{"allow_write":true,"allow_execute":false}}}