Update a division's settings

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

if (FALSE) update_division("DV_1234567890AbCdE", name = "newdivisionname") if (FALSE) { perms <- list( "controlPanel" = list( "surveyPermissions" = list( "editSurveyFlow" = list("state" = "off")))) update_division("DV_1234567890AbCdE", permissions = perms) }