WordPress at a glance
function is not described

update_archived() WP 3.0.0

Update the 'archived' status of a particular blog.

No Hooks.

Return

String. $archived

Usage

update_archived( $id, $archived );
$id(int) (required)
The blog id
$archived(string) (required)
The new status

Code of update archived: wp-includes/ms-blogs.php VER 5.0.3

<?php
function update_archived( $id, $archived ) {
	update_blog_status($id, 'archived', $archived);
	return $archived;
}