auth_delete: DELETE a resource with authenticated credentials.

View source: R/auth_request.R

auth_deleteR Documentation

DELETE a resource with authenticated credentials.

Description

DELETE data at a URL using an HTTP DELETE request using authentication credentials provided in a client certificate. Authenticated access depends on the suggested openssl package. If the openssl package is not installed, then the request fails.

Usage

auth_delete(url, encode = "multipart", body = as.list(NA), node)

Arguments

url

The URL to be accessed via authenticated DELETE

encode

the type of encoding to use for the DELETE body, defaults to 'multipart'

body

a list of data to be included in the body of the DELETE request

node

The D1Node object that the request will be made to.

Value

the HTTP response from the request


dataone documentation built on June 11, 2022, 1:06 a.m.