Delete suppressions (bulk; independent per entry)
curl --request DELETE \
--url https://{host}/subscriptions/{platformType}/suppressions \
--header 'Content-Type: application/json' \
--data '
[
{
"suppressionRef": "<string>"
}
]
'import requests
url = "https://{host}/subscriptions/{platformType}/suppressions"
payload = [{ "suppressionRef": "<string>" }]
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([{suppressionRef: '<string>'}])
};
fetch('https://{host}/subscriptions/{platformType}/suppressions', 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://{host}/subscriptions/{platformType}/suppressions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
[
'suppressionRef' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/subscriptions/{platformType}/suppressions"
payload := strings.NewReader("[\n {\n \"suppressionRef\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://{host}/subscriptions/{platformType}/suppressions")
.header("Content-Type", "application/json")
.body("[\n {\n \"suppressionRef\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/subscriptions/{platformType}/suppressions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"suppressionRef\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body[
{
"suppressionRef": "<string>",
"suppressionName": "<string>",
"message": "<string>",
"status": 123
}
]Subscriptions: Supressions
Delete suppressions (bulk; independent per entry)
Deletes a collection of entries by suppressionRef. If all succeed,
returns 204. If any fail, returns an array with per-entry status/messages
for failures; successful deletes may omit a message. Suppressions referenced
by subscriptions cannot be deleted.
DELETE
/
subscriptions
/
{platformType}
/
suppressions
Delete suppressions (bulk; independent per entry)
curl --request DELETE \
--url https://{host}/subscriptions/{platformType}/suppressions \
--header 'Content-Type: application/json' \
--data '
[
{
"suppressionRef": "<string>"
}
]
'import requests
url = "https://{host}/subscriptions/{platformType}/suppressions"
payload = [{ "suppressionRef": "<string>" }]
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([{suppressionRef: '<string>'}])
};
fetch('https://{host}/subscriptions/{platformType}/suppressions', 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://{host}/subscriptions/{platformType}/suppressions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
[
'suppressionRef' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/subscriptions/{platformType}/suppressions"
payload := strings.NewReader("[\n {\n \"suppressionRef\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://{host}/subscriptions/{platformType}/suppressions")
.header("Content-Type", "application/json")
.body("[\n {\n \"suppressionRef\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/subscriptions/{platformType}/suppressions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"suppressionRef\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body[
{
"suppressionRef": "<string>",
"suppressionName": "<string>",
"message": "<string>",
"status": 123
}
]Path Parameters
Platform catalog to target (cloud or containers).
Available options:
cloud, containers Body
application/json
Minimum array length:
1⌘I

