Posted on 01-06-2019 10:10 AM
Hi Jamf Nation!
How do I create a configuration profile with "custom settings" through the API? If I make a POST the configuration profile is empty even if the command was running without errors.
Here is an example header (I copied it from an existing configuration profile, created manually in Jamf Pro):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<os_x_configuration_profile>
<general>
<name>defaultToStandardPreset</name>
<category>
<name>Category Name</name>
</category>
<uuid>920C78BC-273F-4981-A06E-C71A883D25CC</uuid>
<redeploy_on_update>Newly Assigned</redeploy_on_update>
<payloads><?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict><key>com.apple.print.preset.defaultToStandardPreset</key><true/></dict></plist></payloads>
</general>
<scope>
<all_computers>true</all_computers>
</scope>
</os_x_configuration_profile>
Any idea?
Posted on 09-17-2020 06:49 PM
I also would like to know this.