Untag a resource
tag_resource_delete(
name,
resource_id = NULL,
resource_type = "droplet",
resources = NULL,
...
)
(character) Name of the tag
(integer) a droplet id
(character) only "droplet" for now. Default: "droplet"
(list) instead of resource_id
and
resource_type
you can pass in a list to this parameter. see examples
Additional options passed down to DELETE
logical, TRUE
if successful
if (FALSE) {
d <- droplet_create()
tag_resource(name = "stuffthings", resource_id = d$id,
resource_type = "droplet")
## same as this because only allowed resource type right now is "droplet"
# tag_resource(name = "stuffthings", resource_id = d$id)
tag_resource_delete(name = "stuffthings", resource_id = d$id,
resource_type = "droplet")
}