cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Question: I'm currently trying to write a console app that will do all my user administration stuff automatically, but am having a hard time making a post to the bulk ad end point that includes groups.
Solution: 
This is currently a limitation.  
Possible workarounds:
You can either: use POST api/v1/users
and specifiy "activeDirectory": true,

like this:
{
  "email": "[email protected]",
  "groups": [
    "5d4bfbe5bd3ef11b68180cef"
  ],
"activeDirectory": true,
    "hash": null

}
Or you can create the users using the regular /user/ad/bulk, and then go over the ID's you are getting and make a second call to PATCH  users/{id} with the groups.
Both options tested and worked.
Rate this article:
Version history
Last update:
‎03-02-2023 08:37 AM
Updated by:
Contributors