This page redirects to an external site: https://developer.wordpress.org/reference/functions/update_user_status/
Update the status of a user in the database. Used in core to mark a user as spam or "ham" (not spam) on multisite installs.
<?php update_user_status( $id, $pref, $value ); ?>
Note: You can only do this on multisite installs!
$user_id = 394; update_user_status( $user_id, 'spam', 1 );
$user_id = 394; update_user_status( $user_id, 'spam', 0 );
Again, this will not work on single site installs.
update_user_status() is located in wp-admin/includes/ms.php.