Skip to main content
Question

Create Configuration Profil with Custom Settings through API

  • January 6, 2019
  • 1 reply
  • 0 views

Forum|alt.badge.img+11

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>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;&lt;dict&gt;&lt;key&gt;com.apple.print.preset.defaultToStandardPreset&lt;/key&gt;&lt;true/&gt;&lt;/dict&gt;&lt;/plist&gt;</payloads>
    </general>
    <scope>
        <all_computers>true</all_computers>
    </scope>
</os_x_configuration_profile>

Any idea?

1 reply

Forum|alt.badge.img+7

I also would like to know this.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings