MICE Operations icon

MICE Operations

Interact with the MICE Operations API

Webhook → Delete

AI-generated

Summary

Deletes a webhook subscription in MICE Operations by its numeric ID, via a DELETE request to /webhooks/{webhookId}.

Inputs

  • Webhook ID (required) — Numeric ID of the webhook to delete. It is inserted into the request URL (/webhooks/{id}). The default is 0, so you must set it.
  • Request Options — Optional node settings for the HTTP request. Batching sets items per batch and the interval in ms between batches. Ignore SSL Issues accepts invalid certificates. Proxy sets an HTTP proxy URL. Timeout sets the wait in ms for response headers (default 10000).

Output shape

One item per input item, containing {"success": true}.

The API's own response body is replaced by a post-receive step that sets a fixed success object. An HTTP error from the API (for example, an unknown ID) should make the node error instead. Requires the miceoperationsApi credential. The request goes to https://api.miceoperations.com/api/v1.

Examples

Example 1: Remove an obsolete callback webhook after decommissioning an integration.

Resource: Webhook, Operation: Delete, Webhook ID: 42

Example 2: Delete a webhook whose ID comes from a previous Get Many Webhooks step.

Webhook ID set to the expression {{ $json.id }}

Links

Discussion