Set config file for all devices of a spceific type at the group level.
updates = {
"fileSource": "Custom",
"fileFormat": "user%BWMACADDRESS%.cfg",
"deviceType": "Polycom IP5000",
"fileContent": "PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJ5ZXMiPz4NCjwhLS0gRGVmYXVsdCBNYXN0ZXIgU0lQIENvbmZpZ3VyYXRpb24gRmlsZS0tPg0KPCEtLSBGb3IgaW5mb3JtYXRpb24gb24gY29uZmlndXJpbmcgUG9seWNvbSBWb0lQIHBob25lcyBwbGVhc2UgcmVmZXIgdG8gdGhlIC0tPg0KPCEtLSBDb25maWd1cmF0aW9uIEZpbGUgTWFuYWdlbWVudCB3aGl0ZSBwYXBlciBhdmFpbGFibGUgZnJvbTogLS0+DQo8IS0tIGh0dHA6Ly93d3cucG9seWNvbS5jb20vY29tbW9uL2RvY3VtZW50cy93aGl0ZXBhcGVycy9jb25maWd1cmF0aW9uX2ZpbGVfbWFuYWdlbWVudF9vbl9zb3VuZHBvaW50X2lwX3Bob25lcy5wZGYgLS0+DQo8IS0tICRSQ1NmaWxlOiAwMDAwMDAwMDAwMDAuY2ZnLHYgJCAgJFJldmlzaW9uOiAxLjIzLjguMyAkIC0tPg0KPEFQUExJQ0FUSU9OIEFQUF9GSUxFX1BBVEg9IiVBUFBfVkVSU0lPTiUuc2lwLmxkIiBDT05GSUdfRklMRVM9InBob25lJUJXREVWSUNFSUQlLmNmZyxzeXMuY2ZnIiBNSVNDX0ZJTEVTPSIiIExPR19GSUxFX0RJUkVDVE9SWT0iIiBPVkVSUklERVNfRElSRUNUT1JZPSIiIENPTlRBQ1RTX0RJUkVDVE9SWT0iIiBMSUNFTlNFX0RJUkVDVE9SWT0iIj4NCg0KICAgPEFQUExJQ0FUSU9OX1ZWWDMwMCBBUFBfRklMRV9QQVRIX1ZWWDMwMD0iJUFQUF9WRVJTSU9OX1ZWWC0zMDAtNDAwJS5zaXAubGQiIENPTkZJR19GSUxFU19WVlgzMDA9InBob25lJUJXREVW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