Uptime sites
Update a site
Updates an uptime monitoring site.
patch/projects/{project_id}/sites/{site_id}
Request
- Base URLhttps://app.honeybadger.io/v3
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/honeybadger/apis/honeybadger-api/docs/projects/:project_id/sites/:site_id/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Example:Xk9mZp
Project ID
site_idstring uuid required
Example:9f8b6d2e-4c1a-4b7f-9e35-2a6c8d0f1b47
Site identifier (uuid)
Request body
Example request
{
"name": "Marketing site",
"url": "https://www.example.com/health",
"match": "status == 'ok'",
"request_headers": {
"Authorization": "Bearer abc123"
}
}Response
Success
Example response
{
"data": {
"id": "9f8b6d2e-4c1a-4b7f-9e35-2a6c8d0f1b47",
"project_id": "Xk9mZp",
"name": "Production App",
"url": "https://app.example.com",
"state": "up",
"locations": [
"Virginia",
"London"
],
"outage_threshold": 2,
"timeout": 30,
"links": {
"web": "https://app.honeybadger.io/projects/Xk9mZp"
}
},
"meta": {
"request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.