p2_verb_thing
Usage
p2_delete_tags(tags, dry_run = FALSE)
p2_rename_tags(tags, new_tags, dry_run = FALSE)
p2_delete_segments(segments, dry_run = FALSE)
p2_verb_thing(
existing_things,
new_things = NULL,
verb,
thing,
dry_run = FALSE,
.name = thing
)
Arguments
character vector of tags to update/delete
- dry_run
boolean, nothing will be changed in P2 if set to
TRUE
character vector of new names for
tags
- segments
character vector of segments to delete
- existing_things
character vector of existing entity names
- new_things
list of objects to send to the API endpoint
- verb
HTTP verb to use for the API
- thing
character of entity to update (at "api/3/
") - .name
character of name field that
existing_things
refers to