Export USB Approvals Export
POST {{cb_url}}/device_control/v3/orgs/{{cb_org_key}}/approvals/_export
Extract USB device approval data programmatically in csv
or json
format.
To receive the actual JSON or CSV results, use the Job Service API. First, use the Get Job Details to get the status of the async job, then Download Job Output call to download the actual content.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
external-device.manage | READ |
Request Body
{"criteria"=>{"vendor_name"=>["SanDisk"]}, "format"=>"json"}
RESPONSES
status: OK
"Vendor Name,Vendor ID,Product Name,Product ID,Serial Number,Notes,Approval Name,Created At,Updated At,Updated By\nSanDisk,0x0781,Ultra,0x5581,12345678900987600000,Approval Note,name_for approval,2020-11-05T23:51:56.396425Z,2020-11-06T23:51:56.396425Z,admin@sample.com\nSanDisk,0x0781,Ultra,0x5581,09876543212345678909876543211,Another Note,off_network_os_transfer,2020-11-07T23:51:56.396425Z,2020-11-09T23:51:56.396425Z,admin@sample.com"