Adds api method to delete all object events.
Adds api method to delete all object events.