Update a Webhook

Updates a specified webhook.

Updates a specified webhook.

Code

await seam.webhooks.update({
  webhook_id: "e294905f-e7a5-4804-95a6-303f440eb262",
  event_types: [
    "device.connected",
    "device.disconnected",
    "device.unmanaged.converted_to_managed",
  ],
});

Output

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

event_types Array of Strings (Required)

Types of events that you want the webhook to receive.


webhook_id String (Required)

ID of the webhook that you want to update.


Response

void

Last updated

Was this helpful?