SSH Monitor abrufen
Gibt Details zu einem SSH Monitor zurück.
GET /api/ssh-monitors/:sshMonitorPublicId
Authentifizierung
Erfordert eine gültige Session.
- Header:
Authorization: Bearer <token>
Parameter
sshMonitorPublicId(Pfad, erforderlich): Öffentliche UUID des SSH Monitors.
cURL
curl "https://YOUR_DOMAIN/api/ssh-monitors/44444444-4444-4444-8444-444444444444" \
-H "Authorization: Bearer $TOKEN"Response
{
"id": 300,
"organizationId": 1,
"customerId": 10,
"name": "Bastion Host",
"hostname": "ssh.example.com",
"port": 22,
"status": "active",
"checkInterval": 60,
"timeoutSeconds": 30,
"customerName": "Example Customer",
"notificationEmail": null,
"notificationPhoneNumber": null,
"lastCheckedAt": "2026-02-26T12:00:00.000Z",
"createdAt": "2026-02-26T12:00:00.000Z",
"updatedAt": "2026-02-26T12:00:00.000Z",
"config": {
"username": "root"
},
"sshConfig": {
"username": "root"
}
}Errors
400SSH Monitor Public ID (UUID) erforderlich401Unauthorized403Forbidden404Not found