Function delete

Source
pub fn delete<'a>(
    client: &'a impl UserAuthClient,
    arg: &'a DeleteArg,
) -> impl Future<Output = Result<Metadata, Error<DeleteError>>> + Send + 'a
👎Deprecated: replaced by delete_v2
Available on crate features async_routes and dbx_files only.
Expand description

Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. A successful response indicates that the file or folder was deleted. The returned metadata will be the corresponding FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object.