PUT
/
v2
/
services
/
{uuid}
Update service monitor
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"
  }
}

Authorizations

Authorization
string
header
required

API token generated from your PulseGuard dashboard

Path Parameters

uuid
string<uuid>
required

Service Monitor UUID

Body

application/json
name
string

Service monitor name

type
enum<string>

Type of monitoring

Available options:
http,
tcp,
ping,
dns
url
string<uri>

URL or endpoint to monitor

check_interval
integer

Check interval in minutes

Required range: 1 <= x <= 60
timeout
integer

Timeout in seconds

Required range: 1 <= x <= 300

Response

Service monitor updated successfully

success
boolean
required
Example:

true

message
string
required

Success message

data
object

Response data as object