You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-ref.md
+57-2Lines changed: 57 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -812,7 +812,8 @@ Name | Description
812
812
`id` | The id of the group.
813
813
`users` | The list of users (`UserItem`).
814
814
`name` | The name of the group. The `name` is required when you create an instance of a group.
815
-
815
+
`minimum_site_role` | The role to grant users that are added to the group.
816
+
`license_mode` | The mode defining when to apply licenses for group members. When the mode is `onLogin`, a license is granted for each group member when they login to a site. When the mode is `onSync`, a license is granted for group members each time the domain is synced.
`group_item` | The `group_item` specifies the group to add. You first create a new instance of a `GroupItem` and pass that to this method.
960
+
`asJob` | Boolean flag used to specify an asynchronous operation. If set to `True`, the return value will be a JobItem containing the status of the queued job. See [JobItem class](#jobitem-class).
961
+
962
+
963
+
964
+
965
+
**Returns**
966
+
Returns the created `GroupItem` or a `JobItem` if asJob flag was set to True.
0 commit comments