Skip to main content

Delete All Webhook Events

DELETE 

/api/xero/webhook-settings/:integrationInstanceId/events/all

Permanently delete every stored webhook event for this connection. This only clears the event history; it does not undo any data changes the events triggered, and it does not disable webhooks. Requires an explicit confirmation value of YES.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body:

  • confirmation (string, required): must be exactly YES.

Returns the number of rows removed.

Authentication: Bearer token.

Request

Responses

OK

Response Headers
    Content-Type