@nexartis/homeport-sdk - v1.2.16
    Preparing search index...

    Class WebhooksNamespace

    Index
    • DELETE /api/webhooks/:id — Delete a webhook subscription.

      Parameters

      • webhookId: string

      Returns Promise<{ deleted: string; ok: boolean }>

    • GET /api/webhooks/:id — Get a single webhook subscription.

      Parameters

      • webhookId: string

      Returns Promise<{ subscription: WebhookSubscription }>

    • PATCH /api/webhooks/:id — Update a webhook (pause/resume).

      Parameters

      • webhookId: string
      • action: "pause" | "resume"

      Returns Promise<Record<string, unknown>>