Delete Zone Set
curl --request DELETE \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid} \
--header 'Authorization: <api-key>'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_bodyCAT Modeling
Delete Zone Set
Permanently deletes a zone set and removes its zones from the submission’s locations. Coverage options that use the zone set are left without one (zone_set null), and their zone terms are recreated for the default zones; the terms entered on their zones are lost. A zone set that’s in a coverage option’s revision history can’t be deleted, nor can one whose locations are still being zoned (status P or I), unless its zoning has run so long it’s been given up on. For a large schedule, removing the zones from the locations finishes in the background after the zone set is deleted.
DELETE
/
api
/
v1
/
submission
/
{pingid}
/
cat
/
zone-sets
/
{zone_set_uuid}
Delete Zone Set
curl --request DELETE \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid} \
--header 'Authorization: <api-key>'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/zone-sets/{zone_set_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body⌘I