In the Case of Send File

You can delete the specified Browser Transfer Settings information (for Send File).

Request Interface

HTTP Request

DELETE /browser-transfer/definition/browser-to-hulft/{browserToHulftDefinitionId}

Parameter

Path Parameter

Value

Required

Description

Default Value

browserToHulftDefinitionId

string

true

Transfer Settings ID to be deleted

 

Authorization

In the API Key Management screen in Management Console, 'Browser Send File' under the 'Scopes' field must be selected as 'Delete'.

Response Interface

If the request is processed successfully, the response body is not returned.

Examples

public static void main(String[] args) {
    String host = "https://www.webconnect.hulft.com";
    String apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    try {
        String browserToHulftDefinitionId = "xxxxxxxx";
        URL url = new URL(host + "/api/v2/browser-transfer/definition/browser-to-hulft/" + browserToHulftDefinitionId);
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setRequestMethod("DELETE");
        connection.setRequestProperty("Authorization", "Bearer " + apiKey);
        System.out.println(connection.getResponseMessage()); // The response does not contain the response body.
    } catch (IOException ex) {
        // error
    }
}

// load jquery 
var host = 'https://www.webconnect.hulft.com';
var apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
var browserToHulftDefinitionId  = 'xxxxxxxx';
$.ajax({
  type: 'DELETE',
  url: host + '/api/v2/browser-transfer/definition/browser-to-hulft/' + browserToHulftDefinitionId ,
  headers: {
    Authorization: 'Bearer ' + apiKey
  }
}).done(function(data, status, xhr) {
  console.log(data);
}).fail(function(data, status, xhr) {
  console.log(data);
});