| set_vanity_url {connectapi} | R Documentation |
Set the Vanity URL
Description
Sets the Vanity URL for a piece of content.
Usage
set_vanity_url(content, url, force = FALSE)
Arguments
content |
A Content object |
url |
The path component of the URL |
force |
optional. Default FALSE. Whether to force-reassign a vanity URL that already exists |
Value
An updated Content object
See Also
Other content functions:
content_delete(),
content_item(),
content_title(),
content_update(),
create_random_name(),
dashboard_url(),
dashboard_url_chr(),
delete_vanity_url(),
deploy_repo(),
get_bundles(),
get_environment(),
get_image(),
get_jobs(),
get_vanity_url(),
git,
permissions,
set_image_path(),
set_run_as(),
swap_vanity_url(),
verify_content_name()
Examples
## Not run:
bnd <- bundle_dir("~/my/directory")
connect() %>%
deploy(bnd) %>%
set_vanity_url("a/vanity/url")
## End(Not run)
[Package connectapi version 0.2.0 Index]