This page redirects to an external site: https://developer.wordpress.org/search/remove_cap
There is no public function called remove_cap() - just the class methods inside WP_Roles, WP_Role, WP_User that can remove capabilities.
This page was moved to https://developer.wordpress.org/reference/classes/wp_role/remove_cap/, https://developer.wordpress.org/reference/classes/wp_roles/remove_cap/ and https://developer.wordpress.org/reference/classes/wp_user/remove_cap/ except above language locator.