Profiles API - add/set attributes for OS type, min and max OS version, and Mac architecture
The current profiles API method to list all profiles doesn't return the scope data that is configured in the management console, and there are no means to set these attributes via API methods (per https://api.simplemdm.com/#profiles as at 2022-09-26).
Please update the list all and retrieve one methods to return this scope data.
Please also add a method to update existing profiles with values for this scope data.
The scope attributes specifically are:
- setting the OS type
- setting the minimum macOS version the profile can be installed on
- setting the maximum macOS version the profile can be installed on
- setting which Mac architecture the profile can be installed on
This will help with automating management of profiles.
-
Jon Crain commented
Upvoted. With the new DDM option, we need the ability to set a profile as DDM from within the API as well, since the button is not there after creation.
-
Nathaniel Strauss commented
Big upvote. I would also like to add the custom configuration profiles create endpoint should support EVERY setting. Description, auto-renew SCEP, etc. If it exists in the GUI there should be an API analogue.
-
Nate Felton commented
When using the SimpleMDM portal to upload a new custom configuration profile, you are able to define a scope for the profile - targeted OS, min/max OS version, and Mac architecture.
It would be useful to be able to define these values via the Create (POST) `custom_configuration_profiles` API [https://api.simplemdm.com/#create-4].