Skip to content

Set the verdict for an observed hostname (denied = dropped at the collector)

PUT
/v1/domains/{id}/hostnames/{hostname}
curl --request PUT \
--url https://api.monita.ai/v1/domains/example/hostnames/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "status": "unreviewed" }'
id
required
string
hostname
required
string
>= 1 characters <= 253 characters
Media typeapplication/json
object
status
required
string
Allowed values: unreviewed approved denied

Saved

Media typeapplication/json
object
ok
required
boolean
Examplegenerated
{
"ok": true
}

Not found

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}