Delete a watch folder
curl --request DELETE \
--url http://localhost:6699/api/v1/watch-folders/{watch_folder_id} \
--header 'X-License-Key: <api-key>'import requests
url = "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}"
headers = {"X-License-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-License-Key': '<api-key>'}};
fetch('http://localhost:6699/api/v1/watch-folders/{watch_folder_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6699",
CURLOPT_URL => "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"X-License-Key: <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 := "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("X-License-Key", "<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("http://localhost:6699/api/v1/watch-folders/{watch_folder_id}")
.header("X-License-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6699/api/v1/watch-folders/{watch_folder_id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Delete.new(url)
request["X-License-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>"
}Watch Folders
Delete a watch folder
Removes a watch folder from the configuration. Does not delete analysis data.
DELETE
/
watch-folders
/
{watch_folder_id}
Delete a watch folder
curl --request DELETE \
--url http://localhost:6699/api/v1/watch-folders/{watch_folder_id} \
--header 'X-License-Key: <api-key>'import requests
url = "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}"
headers = {"X-License-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-License-Key': '<api-key>'}};
fetch('http://localhost:6699/api/v1/watch-folders/{watch_folder_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6699",
CURLOPT_URL => "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"X-License-Key: <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 := "http://localhost:6699/api/v1/watch-folders/{watch_folder_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("X-License-Key", "<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("http://localhost:6699/api/v1/watch-folders/{watch_folder_id}")
.header("X-License-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6699/api/v1/watch-folders/{watch_folder_id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Delete.new(url)
request["X-License-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>"
}Last modified on July 1, 2026
Was this page helpful?
⌘I

