Update a specific segment
Usage
seg_update(
id = NULL,
updates = NULL,
locale = "en_US",
debug = FALSE,
company_id = Sys.getenv("AW_COMPANY_ID")
)Arguments
- id
The id of the segment you are wanting to update
- updates
List of changes or entire definition object as a list object.
- locale
The URL query parameter locale. Supported values are en_US, fr_FR, ja_JP, de_DE, es_ES, ko_KR, pt_BR, zh_CN, and zh_TW. This argument specifies which language is to be used for localized sections of responses.
- debug
Set to
TRUEto publish the full JSON request(s) being sent to the API to the console when the function is called. The default isFALSE.- company_id
Company ID. If an environment variable called
AW_COMPANY_IDexists in.Renvironor elsewhere and nocompany_idargument is provided, then theAW_COMPANY_IDvalue will be used. Useget_me()to get a list of availablecompany_idvalues.
