# NOT RUN {
accountId <- 1234567
containerId <- 7654321
environmentId <- 3
gtm_environments_delete(accountId, containerId, environmentId, TRUE)
environmentId <- 4
gtm_environments_delete(accountId, containerId, environmentId)
# This will delete environment 4 Are you sure you want to continue?"
# 1: Yes
# 2: No
# Selection: 1
# Environment 4 has been deleted.
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab