SharePoint Rest Api - Unregister Event Receivers

Job ID: 32340983

Budget: $30 – $250 USD

In this post: https://github.com/pnp/pnpjs/issues/1951
You can find information on how to register event receivers via SharePoint Rest API (Javascript).
This is working. I need to find a way how to unregister event receivers via RestApi (Javascript).
So "same" code but only for unregistering. (No PowerShell or CSOM code is needed) Everything must be done via Javascript with the current user.
Related categories: Sharepoint