מחיקת כל הפוסטים של משתמש באתר כולו באמצעות API?

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