{
"comment": "string",
"status": "integer"
}
const response = await fetch(
"POST /api/v1/alerts/{alert_id}/status",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"comment": "string",
"status": "integer"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Go!Scan
Modify alert
Updates the status of an alert.
POST
/
api
/
v1
/
alerts
/
{alert_id}
/
status
{
"comment": "string",
"status": "integer"
}
const response = await fetch(
"POST /api/v1/alerts/{alert_id}/status",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"comment": "string",
"status": "integer"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Path parameters
string
required
Body parameters
string
integer
Possible states: 1 (Unknown), 2 (New), 3 (Pending Information), 4 (True Hit), 5 (True Hit Accepted), 6 (True Hit Rejected), 7 (False Positive)
Response body
- 204
- default
{
"comment": "string",
"status": "integer"
}
const response = await fetch(
"POST /api/v1/alerts/{alert_id}/status",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"comment": "string",
"status": "integer"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}