do_remove_api: Remove an API from the server

View source: R/digital-ocean.R

do_remove_apiR Documentation

Remove an API from the server

Description

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

Usage

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


meztez/plumberDeploy documentation built on July 16, 2024, 6:58 p.m.