seg_delete: Delete A Segment

View source: R/segment_delete.R

seg_deleteR Documentation

Delete A Segment

Description

Use this function to delete a specific segment in Adobe Analytics

Usage

seg_delete(
  id = NULL,
  warn = TRUE,
  locale = "en_US",
  debug = FALSE,
  rsid = Sys.getenv("AW_REPORTSUITE_ID"),
  company_id = Sys.getenv("AW_COMPANY_ID")
)

Arguments

id

Segment ID to be deleted.

warn

Boolean of whether or not to include a warning message.

locale

language - default 'en_US'

debug

Default FALSE. Set this to TRUE to see the information about the api calls as they happen.

rsid

Adobe report suite ID (RSID). If an environment variable called AW_REPORTSUITE_ID exists in .Renviron or elsewhere and no rsid argument is provided, then the AW_REPORTSUITE_ID value will be used. Use aw_get_reportsuites() to get a list of available rsid values.

company_id

Company ID. If an environment variable called AW_COMPANY_ID exists in .Renviron or elsewhere and no company_id argument is provided, then the AW_COMPANY_ID value will be used. Use get_me() to get a list of available company_id values.

Value

A string confirming the segment has or has not been deleted


adobeanalyticsr documentation built on Nov. 9, 2023, 5:07 p.m.