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.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Body:

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

Returns the number of rows removed.

Authentication: Bearer token.

Request

Responses

OK

Response Headers
    Content-Type