We'll create fresh WordPress site with API Log Pro installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin enables logging of all calls to the WordPress REST API. You can view all logs from the WordPress Admin under API Log Pro.
This plugin offers some basic wp-cli support. You can use the following command to delete all the logs in the db.
wp api-log-pro delete