DELETE https://:account.api-us1.com/api/3/dealTasktypes/id
- cURL
curl --request DELETE \
--url https:///:account.api-us1.com/api/3/dealTasktypes/id
- Node
var request = require("request");
var options = { method: 'DELETE',
url: 'https:///:account.api-us1.com/api/3/dealTasktypes/id' };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
- Ruby
require 'uri'
require 'net/http'
url = URI("https:///:account.api-us1.com/api/3/dealTasktypes/id")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body
- JavaScript
var data = JSON.stringify(false);
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("DELETE", "https:///:account.api-us1.com/api/3/dealTasktypes/id");
xhr.send(data);
- Python
import requests
url = "https:///:account.api-us1.com/api/3/dealTasktypes/id"
response = requests.request("DELETE", url)
print(response.text)
PATH PARAMS
id REQUIRED
int32 Deal task type's id
! If the deal task type has existing deal tasks, the request will be rejected with a HTTP response code 409. Before this deal task type can be deleted, all deal tasks under this deal task type must be either moved to another deal task type or deleted.
Opmerkingen
0 opmerkingen
Artikel is gesloten voor opmerkingen.