Remove a specific unit code from one or more references

remove_content_unit(reference_id, unit_to_remove, dev = TRUE)

Arguments

reference_id

String. Integer. Vector. One or more of the seven-digit DataStore reference IDs for the reference(s) that content unit link will be removed.

unit_to_remove

String. A single NPS park unit code.

dev

Logical. Whether or not the operation will be performed on the development server. Defaults to TRUE.

Value

NULL (invisibly)

Examples

if (FALSE) { # \dontrun{
remove_content_unit(2315542, "ROMO")
remove_content_unit(c(2315542, 2315551), "ROMO")} # }