削除

ブラウザ転送設定グループを削除します。

Request Interface

HTTP Request

DELETE /browser-transfer-groups/{browserTransferGroupId}

Parameter

Path Parameter

Value

Required

Description

Default Value

browserTransferGroupId

string

true

ID of the Browser Transfer Group to delete.(32 alphanumeric characters)

-

Response Interface

リクエストが正常に処理された場合、レスポンスボディは返却されません。

Examples

public static void main(String[] args) {
	String host = "https://www.webconnect.hulft.com";
	String apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
	String browserTransferGroupId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
	try {
		URL url = new URL(host + "/api/v2/browser-transfer-groups/" + browserTransferGroupId);
		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 browserTransferGroupId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$.ajax({
  type: 'DELETE',
  url: host + '/api/v2/browser-transfer-groups/' + browserTransferGroupId ,
  headers: {
    Authorization: 'Bearer ' + apiKey
  }
}).done(function(data, status, xhr) {
  console.log(data);
}).fail(function(data, status, xhr) {
  console.log(data);
});