update_division: Update a division's settings

Description Usage Arguments Value Examples

View source: R/divisions.R

Description

Update a division's settings

Usage

1
update_division(division_id, name = NULL, status = NULL, permissions = NULL)

Arguments

division_id

the id of the division to update

name

the new division name

status

the new status of the division, can be "Active", "Disabled"

permissions

a JSON object with permissions to update

Value

id of created message

Examples

1
2
3
4
5
6
7
8
9
## Not run: update_division("DV_1234567890AbCdE", name = "newdivisionname")
## Not run: 
perms <- list(
"controlPanel" = list(
  "surveyPermissions" = list(
    "editSurveyFlow" = list("state" = "off"))))
update_division("DV_1234567890AbCdE", permissions = perms)

## End(Not run)

ppssphysics/QualtricsInR documentation built on Aug. 30, 2021, 8:12 a.m.