Skip to contents

Delete a File or Folder on the Cloud

Usage

delete_file_or_folder(
  path,
  user = nextcloud_user(),
  auth = nextcloud_auth(),
  ...
)

Arguments

path

path to the file or folder to be deleted

user

user name, by default taken from the environment variable "NEXTCLOUD_USER".

auth

authentication header as provided by kwb.nextcloud:::nextcloud_auth

...

further arguments passed to kwb.nextcloud:::nextcloud_request