Rudy30
Contributor
Contributor

WorkspaceOne UEM REST API - Updating a smartgroup in Profile

Hi Technologist,

I am writing a python script to automate updating Smart groups in a particular macOS profile. This is take care of recurring task that we have to do (e.g New OS testing/Certification/RingDeployments)

What I currently have: (GET) Working code that will pull profile details and parse the api response


Where I am stuck and What I need help with: 
1. (GET) - Currently while pulling profile details I don't see SmartGroup currently assigned to the profile.
2. (Post) - Updating a particular smartgroup in profile

 

I am currently using for Profile List details: 

https://****.awmdm.com/API/mdm/profiles/search


Appreciate any help on this. 

Regards,

Rudy

0 Kudos
1 Reply
volperj
Contributor
Contributor

Hi Rudy, 

I think you need to use the MDM v2 API, for both search and update profile assignment.

Documentation for MDM v2 API is available on https://*****.awmdm.com/API/help/#!/apis/10003?/ProfilesV2

 

Hope this help

Regards

Jérôme

0 Kudos