X Enterprises
fastify-x-signwell

xsignwell.webhooks.delete

Remove a registered SignWell webhook endpoint by ID.

xsignwell.webhooks.delete

Delete a registered webhook endpoint. webhooks.remove is an alias for this method.

Signature

fastify.xsignwell.webhooks.delete(webhookId: string): Promise<Object>
// remove is an alias for delete

Params

NameTypeRequiredDescription
webhookIdstringYesID of the webhook to delete.

Returns

API response for the delete operation.

Throws

  • [xSignwell] webhooks.remove: webhookId (string) is required
  • Re-throws SignWell API errors with statusCode and signwellError properties.

Examples

Delete a webhook by ID

await fastify.xsignwell.webhooks.delete("hook_abc123");

Using the remove alias

await fastify.xsignwell.webhooks.remove("hook_abc123");

See also


AI Context

package: "@xenterprises/fastify-xsignwell"
method: fastify.xsignwell.webhooks.delete(webhookId)
use-when: Remove a registered SignWell webhook endpoint by its ID; remove is an alias
params: webhookId (string, required)
returns: API response for the delete operation
Copyright © 2026