We'll create fresh WordPress site with JSON API Delete User installed. You have 20 minutes to test the plugin after that site we'll be deleted.
JSON API DELETE USER extends the JSON API Plugin with a new Controller to delete user with meta data.
You need to create nonce to delete user, nonce can be created by calling http://localhost/api/get_nonce/?controller=user&method=delete_user_with_meta
You can then use ‘nonce’ value to delete user.
= Method: delete_user_with_meta=
You can find example.php file to understand delete user api call via curl.
http://localhost/wordpress/api/user/[email protected]