Monitors
Update monitor
put/monitors/{monitorId}
Request
- Base URL: https://api.pulsetic.com/api/public
- URL: https://api.pulsetic.com/api/public/monitors/{monitorId}
- Auth: API key in header Authorization
Path parameters
monitorIdinteger required
Example:2
Request body
Example request
{
"url": "https://mozilla.org",
"name": "Mozilla Page",
"uptime_check_frequency": "600",
"offline_notification_delay": "10",
"ssl_check": true,
"is_running": true,
"request": {
"body_json": "{\"hello\":\"world\"}",
"headers": [
{
"name": "Accept",
"value": "application/json"
}
]
},
"response": {
"headers": [
{
"name": "Accept",
"value": "application/json"
}
]
},
"tags": [
"production",
"critical"
]
}Response
successful operation
Example response
{
"id": 2,
"status": "online",
"ssl_certificate_state": "valid",
"ssl_check": 1,
"uptime_check_frequency": 3600,
"offline_notification_delay": 12,
"request_type": "http",
"tcp_ports": "89, 7345",
"request_headers": [
{
"name": "Accept",
"value": "application/json"
}
],
"request_timeout": 10,
"snapshots_average_uptime": "0.9376842",
"uptime": "1.0000000",
"ssl_certificate": {
"is_valid": 1
},
"tags": [
{
"name": "production"
},
{
"name": "critical"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.