curl --request PUT \
--url https://app.pulseguard.nl/api/v1beta/devices/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"hostname": "<string>",
"description": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"hostname": "<string>",
"os": "<string>",
"status": "online",
"last_seen": "2023-11-07T05:31:56Z",
"metrics": {
"cpu_usage": 123,
"memory_usage": 123,
"disk_usage": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Update an existing device (Expert Plan required)
curl --request PUT \
--url https://app.pulseguard.nl/api/v1beta/devices/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"hostname": "<string>",
"description": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"hostname": "<string>",
"os": "<string>",
"status": "online",
"last_seen": "2023-11-07T05:31:56Z",
"metrics": {
"cpu_usage": 123,
"memory_usage": 123,
"disk_usage": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
API token generated from your PulseGuard dashboard
Device UUID
Device updated successfully
The response is of type object
.