Insert
Add a single user to one or more groups. When new users are added, invites are sent automatically within 1-5 minutes. If the group does not exist, it will automatically be created.
Parameters
Key | Type |
groups | Array of Strings |
user | User Object (firstname, lastname, email, optional telelphone) |
invite | Boolean (defaults to true) |
forceSync | Boolean (defaults to false) |
Caution
When using forceSync
, this will potentially remove users from other groups they may have been manually assigned. You should only use this if it is unlikely the user will be manually assigned to groups.
Example
Success Response
Last updated