PUT
/
v2
/
domains
/
{uuid}
Update domain
curl --request PUT \
  --url https://app.pulseguard.nl/api/v2/domains/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "check_interval": 30
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>",
    "status": "up",
    "response_time": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}
This endpoint allows you to update an existing domain.

Path Parameters

uuid
string
required
The universally unique identifier of the domain.

Body

You can send the same parameters as when creating a domain to update its values.

Authorizations

Authorization
string
header
required

API token generated from your PulseGuard dashboard

Path Parameters

uuid
string<uuid>
required

Domain UUID

Body

application/json

Response

200
application/json

Domain updated successfully

The response is of type object.