Delete a watcher
Delete a watcher and its schedule.
DELETE
/
v3
/
watchers
/
{watcher_id}
Delete a watcher
curl --request DELETE \
--url https://api.orbitsearch.com/v3/watchers/{watcher_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbitsearch.com/v3/watchers/{watcher_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orbitsearch.com/v3/watchers/{watcher_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": true
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}⌘I
Delete a watcher
curl --request DELETE \
--url https://api.orbitsearch.com/v3/watchers/{watcher_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbitsearch.com/v3/watchers/{watcher_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orbitsearch.com/v3/watchers/{watcher_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": true
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>"
}
}