Uptimeify Docs

SSH Monitore auflisten

Listet SSH Monitore einer Organisation auf.

GET /api/ssh-monitors

Authentifizierung

Erfordert eine gültige Session.

  • Header: Authorization: Bearer <token>

Parameter

  • organizationId (Query, optional): Organisations-ID. Default ist die Organisation des aktuellen Nutzers.
  • customerId (Query, optional): Nach Kunden-ID filtern.
  • search (Query, optional): Suche nach Name, Hostname oder Kunde.
  • page (Query, optional): Seite (Default: 1).
  • perPage (Query, optional): Einträge pro Seite (Default: 50, Max: 200).

cURL

curl "https://YOUR_DOMAIN/api/ssh-monitors?page=1&perPage=50" \
  -H "Authorization: Bearer $TOKEN"

Response

{
  "items": [
    {
      "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"
      }
    }
  ],
  "total": 1,
  "page": 1,
  "perPage": 50
}

Errors

  • 400 Ungültige organizationId oder customerId
  • 401 Unauthorized
  • 403 Forbidden

Auf dieser Seite