Skip to content

Update List

frauddetector_update_list R Documentation

Updates a list

Description

Updates a list.

Usage

frauddetector_update_list(name, elements, description, updateMode,
  variableType)

Arguments

name

[required] The name of the list to update.

elements

One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

description

The new description.

updateMode

The update mode (type).

  • Use APPEND if you are adding elements to the list.

  • Use REPLACE if you replacing existing elements in the list.

  • Use REMOVE if you are removing elements from the list.

variableType

The variable type you want to assign to the list.

You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.

Value

An empty list.

Request syntax

svc$update_list(
  name = "string",
  elements = list(
    "string"
  ),
  description = "string",
  updateMode = "REPLACE"|"APPEND"|"REMOVE",
  variableType = "string"
)