Possible to add users to permissions groups using the API? #10693
-
I'm reading the Snipe-IT Users API documentation, and I noticed that there is a field to set the permissions, but no field for setting the user groups. That documentation page has been updated 3 years ago, has the ability to add users to a permissions group been added? If yes, how what's the proper format for it? The alternative would be to use the bulk edit function in the web dashboard where I could set the groups, but I would prefer to do this programmatically in one go. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out: I just pass in |
Beta Was this translation helpful? Give feedback.
I figured it out: I just pass in
'groups': [ ... ]
where...
is a list of group IDs.