Delete all posts by a user on entire site with API?

Yes, that’s the user’s ID, and it’s a PUT request. It returns the number of deleted posts.