## Send a Delete request to the Repository Services
##
## Author: Matthew D. Furia <matt.furia@sagebase.org>
###############################################################################
synapseDelete <-
function(
uri,
endpoint=synapseServiceEndpoint("REPO"),
curlHandle=getCurlHandle(),
anonymous=FALSE,
opts = .getCache("curlOpts"),
checkHttpStatus=TRUE,
logErrorsToSynapse=TRUE
)
{
## constants
kMethod <- "DELETE"
## end constants
.synapseGetDelete(uri = uri,
requestMethod = kMethod,
endpoint = endpoint,
curlHandle = curlHandle,
anonymous = anonymous,
opts = opts,
checkHttpStatus=checkHttpStatus,
logErrorsToSynapse=logErrorsToSynapse
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.