public function reset_api_key() {
		delete_site_option( 'github_updater_api_key' );
		Singleton::get_instance( 'Remote_Management', $this )->ensure_api_key_is_set();
		$api_key = get_site_option( 'github_updater_api_key' );
		$api_url = add_query_arg(
			[
				'action' => 'github-updater-update',
				'key'    => $api_key,
			],
			admin_url( 'admin-ajax.php' )
		);

		WP_CLI::success( 'GitHub Updater REST API key has been reset.' );
		WP_CLI::success( sprintf( 'The current RESTful endpoint is `%s`', $api_url ) );
	}