Forum Discussion

tabordl's avatar
tabordl
Icon for Contributor II rankContributor II
2 months ago

Dynamic device group automation with GQL

I have a script that manages devices groups. The groups are simple, using a single rule, custom attribute SiteID = xxxx. Because the legacy API does not allow for the creation/application of the rules, I was directly manipulating the DB. 

We are moving to SAS - no more direct DB access. I need some GQL magic to create/apply a rule to a group.

 

2 Replies

  • Hello Team, I see that this is still pending a response. Apologies and I am escalating to the team to see who can assist with this. Best, Sara 

  • Device Group management is fairly limited in functionality via GQL in only supporting modification of existing Device Groups to add static devices. The creation of new device groups, adding device groups as a child to device group, and creating or editing dynamic rules are not supported GQL mutations for device groups at this time.