I'm looking for a way to create a Smart Group in Jamf based on a large list of serial numbers via the API. For example, when I have a large amount of end of lease iPads to decommission, I'd like to be able to quickly create a Smart Group containing those serials using the API, rather than creating a Smart Group via the GUI and manually inputting a massive list of serials.
I've seen some helpful posts explaining how to create a smart group via the API, just checking if someone has achieved something similar before I look into this further.
Thanks!