Hosts
Update a host
Changes only the fields you send. The agent stops renaming a host once you set its label.
patch/hosts/{host}
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Path parameters
hoststring uuid required
Host ID.
Request body
Example request
{
"label": "web-1",
"no_data_alert_minutes": 10
}Response
The updated host.
Example response
{
"label": "web-1",
"agent_version": "2.0.3",
"no_data_alert_minutes": 10,
"escalation_paths": [
{
"name": "On-call engineers"
}
],
"health": [
{
"detail": "nginx.service failed"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.