Skip to contents

Delete CDN Directory (prefix)

Usage

cdn_hard_delete(prefix, bucket, recursive = FALSE)

Arguments

prefix

Character(1). CDN path (without trailing slash) of the “directory” to delete.

bucket

Character(1). Name of the Spaces bucket.

recursive

Logical(1). If `FALSE` (the default), only the empty placeholder (`<prefix>/`) is removed and it errors if any other keys are present. If `TRUE`, *all* keys under `<prefix>/` (including the placeholder) are deleted.

Value

Invisibly, a character vector of the key(s) that were removed.