RESTDataConnector.delete

Performs an authenticated DELETE request to the API using the settings of the RESTDataConnector The default headers from the RESTDataConnector are included in the request. Any additional headers, as specified by the parameter, will be merged.

Further documentation.

JavaScript example:

 var auth = HttpAuthentication.createOAuthAuthentication("connectorauth");
 var opts = new RestOptions();
 opts.setSocketTimeout(60);
 
 var dc = connectors.createRESTDataConnector('https://myserviceconnector.org/customer');
 var response = dc.delete(dc.createUri('delete'), {options:opts, authentication:auth});
 log(response.result);
 

returns java.lang.Object

Parameters

java.lang.String  uri,  java.util.Map  options,