do_remove_api: Remove an API from the server

Description Usage Arguments Value

View source: R/digital-ocean.R

Description

Removes all services and routing rules associated with a particular service. Optionally purges the associated API directory from disk.

Usage

1
do_remove_api(droplet, path, delete = FALSE, ...)

Arguments

droplet

The droplet on which to act. It's expected that this droplet was provisioned using do_provision(). See analogsea::droplet() to obtain a reference to a running droplet.

path

The path/name of the plumber service

delete

If TRUE, will also delete the associated directory (/var/plumber/whatever) from the server.

...

additional arguments to pass to analogsea::droplet_ssh() or analogsea::droplet_upload(), such as keyfile. Cannot contain remote, local as named arguments.

Value

The DigitalOcean droplet, but called for side effects


plumberDeploy documentation built on March 22, 2021, 5:07 p.m.