cURL
curl --request PUT \ --url https://app.pulseguard.nl/api/v2/services/{uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "http", "url": "<string>", "check_interval": 30, "timeout": 150 } '
{ "success": true, "message": "<string>", "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "type": "http", "url": "<string>", "status": "up", "check_interval": 123, "timeout": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Update an existing service monitor (Expert Plan required)
API token generated from your PulseGuard dashboard
Service Monitor UUID
Service monitor name
Type of monitoring
http
tcp
ping
dns
URL or endpoint to monitor
Check interval in minutes
1 <= x <= 60
Timeout in seconds
1 <= x <= 300
Service monitor updated successfully
true
Success message
Response data as object
Show child attributes