groups_patch {civis}R Documentation

Update some attributes of this Group

Description

Update some attributes of this Group

Usage

groups_patch(
  id,
  name = NULL,
  description = NULL,
  slug = NULL,
  organization_id = NULL,
  default_otp_required_for_login = NULL,
  role_ids = NULL,
  default_time_zone = NULL,
  default_jobs_label = NULL,
  default_notebooks_label = NULL,
  default_services_label = NULL
)

Arguments

id

integer required. The ID of this group.

name

string optional. This group's name.

description

string optional. The description of the group.

slug

string optional. The slug for this group.

organization_id

integer optional. The ID of the organization this group belongs to.

default_otp_required_for_login

boolean optional. The two factor authentication requirement for this group.

role_ids

array optional. An array of ids of all the roles this group has.

default_time_zone

string optional. The default time zone of this group.

default_jobs_label

string optional. The default partition label for jobs of this group.

default_notebooks_label

string optional. The default partition label for notebooks of this group.

default_services_label

string optional. The default partition label for services of this group.

Value

A list containing the following elements:

id

integer, The ID of this group.

name

string, This group's name.

createdAt

string, The date and time when this group was created.

updatedAt

string, The date and time when this group was last updated.

description

string, The description of the group.

slug

string, The slug for this group.

organizationId

integer, The ID of the organization this group belongs to.

organizationName

string, The name of the organization this group belongs to.

memberCount

integer, The number of active members in this group.

totalMemberCount

integer, The total number of members in this group.

defaultOtpRequiredForLogin

boolean, The two factor authentication requirement for this group.

roleIds

array, An array of ids of all the roles this group has.

defaultTimeZone

string, The default time zone of this group.

defaultJobsLabel

string, The default partition label for jobs of this group.

defaultNotebooksLabel

string, The default partition label for notebooks of this group.

defaultServicesLabel

string, The default partition label for services of this group.

lastUpdatedById

integer, The ID of the user who last updated this group.

createdById

integer, The ID of the user who created this group.

members

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.

  • email string, This user's email address.

  • primaryGroupId integer, The ID of the primary group of this user.

  • active boolean, Whether this user account is active or deactivated.


[Package civis version 3.1.2 Index]