Add a user to a group
groups_put_members(id, user_id)
id | integer required. The ID of the group. |
---|---|
user_id | integer required. The ID of the user. |
A list containing the following elements:
integer, The ID of this group.
string, This group's name.
string, The date and time when this group was created.
string, The description of the group.
string, The slug for this group.
integer, The ID of the organization this group belongs to.
string, The name of the organization this group belongs to.
integer, The total number of members in this group.
boolean, Whether or not members of this group must sign the EULA.
boolean, The two factor authentication requirement for this group.
array, An array of ids of all the roles this group has.
string, The default time zone of this group.
string, The default partition label for jobs of this group. Only available if custom_partitions feature flag is set. Do not use this attribute as it may break in the future.
string, The default partition label for notebooks of this group. Only available if custom_partitions feature flag is set. Do not use this attribute as it may break in the future.
string, The default partition label for services of this group. Only available if custom_partitions feature flag is set. Do not use this attribute as it may break in the future.
array, An array containing the following fields:
id integer, The ID of this user.
name string, This user's name.
username string, This user's username.
initials string, This user's initials.
online boolean, Whether this user is online.