Get Blocks
GET {{cb_url}}/device_control/v3/orgs/{{cb_org_key}}/blocks
Returns all policy_ids where Device Control Blocking is enabled, for a specific org.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
org.policies | READ |
RESPONSES
status: OK
{"results":[{"id":"09f690a5-0ec2-33e6-9109-06832497363e","policy_id":"98765432","created_at":"2023-08-29T05:15:47Z","updated_at":"2023-11-07T09:31:01Z","windows":{"approved_devices":{"allow_write":false,"allow_execute":false}}},{"id":"b8e33d0c-8d6b-3e67-bab9-bb3dbfb53722","policy_id":"45678901","created_at":"2023-11-17T08:44:26Z","updated_at":"2023-12-11T09:20:03Z","windows":{"approved_devices":{"allow_write":true,"allow_execute":false}}},{"id":"f2300941-ac43-3a0a-b2f1-bf01a77b36f2","policy_id":"34567890","created_at":"2023-10-27T06:42:49Z","updated_at":"2023-10-27T06:43:01Z","windows":{"approved_devices":{"allow_write":true,"allow_execute":true}}},{"id":"25aec0d3-12d3-3fce-8725-122d9650364e","policy_id":"12345678","created_at":"2023-09-14T09:04:41Z","updated_at":"2023-12-01T08:48:02Z","windows":{"approved_devices":{"allow_write":false,"allow_execute":true}}}]}