How to create a smart computer group using API

sandhyakachhap3
New Contributor

I want to add 1000 device into a smart computer group in jamf but I don't know how to add device in smart group using API. Can you please help me to create a computer group using API in jamf pro.

2 REPLIES 2

dlondon
Valued Contributor

I wouldn't normally add to a Smart Group via the API.  A smart group has rules for membership that you create in the definition of the group so you don't have to populate it.  A static group can be manually populated or populated via the api.

Did you really mean a smart group?  If so could you explain this a bit more?

bwoods
Valued Contributor

 @sandhyakachhap3,  you don't have the ability to manually add people to smart groups. You can only manually add them to static groups. You can just download the MUT Classic.app or the New MUT.app to accomplish this knowing little to nothing about the Classic API.

Just create the static group you want to add the devices to, then use MUT Classic.app or MUT.app to send the devices to that group. All you need is a .csv with the list of devices.

MUT Classic on the Mac App Store (apple.com)