Delete a new hire monitor
curl --request DELETE \
--url https://api.airscale.io/v1/new-hire-monitors/{monitor_id} \
--header 'Authorization: Bearer <token>'const url = 'https://api.airscale.io/v1/new-hire-monitors/{monitor_id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/new-hire-monitors/{monitor_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true
}{
"error": {
"code": "invalid_api_key",
"message": "The API key is not valid"
}
}{
"error": {
"code": "monitor_not_found",
"message": "Monitor not found"
}
}{
"error": "Too Many Requests",
"message": "Rate limit exceeded: 120 requests per minute"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Delete a new hire monitor
Permanently remove a monitor, its events, and its webhook receipts. Rate limit: 120 requests per fixed minute per API key, shared by all new hire monitor endpoints.
DELETE
/
v1
/
new-hire-monitors
/
{monitor_id}
Delete a new hire monitor
curl --request DELETE \
--url https://api.airscale.io/v1/new-hire-monitors/{monitor_id} \
--header 'Authorization: Bearer <token>'const url = 'https://api.airscale.io/v1/new-hire-monitors/{monitor_id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/new-hire-monitors/{monitor_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true
}{
"error": {
"code": "invalid_api_key",
"message": "The API key is not valid"
}
}{
"error": {
"code": "monitor_not_found",
"message": "Monitor not found"
}
}{
"error": "Too Many Requests",
"message": "Rate limit exceeded: 120 requests per minute"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}New hire monitoring requires a V2 workspace API key. Legacy V1 API keys are not supported by these endpoints. Monitors and their credits belong to the V2 workspace associated with the key.
monitor_id. This permanently removes the monitor, its events, and its webhook receipts. The monitor’s results table and its rows stay in the workspace.
Deletion cannot be undone. Pause the monitor to stop checks temporarily.
{ "ok": true }. Deleting spends no credits.