/watcher/{watcher_id}
DevelopingDELETE
/watcher/{watcher_id}Last modified:Â 23 days ago
Deletes a watcher of any kind (ai or boundary).
The watcher id is provided in URL, e.g.
/watcher/123
Request
Path Params
watcher_id
stringÂ
required
Request samples
Responses
An example Response(200)
An example Response
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
status
object (API Response Status)Â
required
created_timestamp
integerÂ
required
Response created timestamp
created_string
stringÂ
required
Response created date/time string
duration
numberÂ
required
Duration of response, seconds
language
stringÂ
required
Language
timezone
object (Timezone)Â
required
code
enum<integer>Â
required
Response code, following HTTP status spec
Allowed values:
200202203204307400401404418500501
oldest_cached_component_age
integerÂ
required
Age in seconds of oldest cached component
session_id
stringÂ
required
Session id
org_onboarding_status_id
integer  | nullÂ
required
Org onboarding status id
api_host
string  | nullÂ
required
API host
user_onboarding_flags
object (User Onboarding Flags)Â
optional
org_upgraded
integer  | booleanÂ
required
data
objectÂ
required
watcher
object (Watcher)Â
required
Example
{
"status": {
"created_timestamp": 1657645105,
"created_string": "Tue 12 Jul 2022 @ 16:58 (UTC)",
"duration": 0.029,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 853,
"session_id": "1dedbf232bc104b6087327016c50ba45",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"message": "OK",
"watcher": {
"id": 343,
"name": "Si Test Alert 2022-07-12 01",
"is_alert": false,
"is_deleted": true,
"owner": {
"id": 101,
"org_id": 101,
"name": "Phil Collins",
"email": "si@anomalarm.io",
"phone_number": "+447976123456",
"slack_member_id": "U04UFSKFY",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
}
}
}
Last modified: 23 days ago