I know why you may need so I thought to share …
// Written by The SEO Framework author
add_filter( 'the_seo_framework_sitemap_endpoint_list', function( $list ) {
if ( isset( $list['base'] ) ) {
// Set custom human-readable name.
$list['base']['endpoint'] = 'sitemap-900142.xml';
// Set custom computer name.
$list['base']['regex'] = '/^sitemap\-900142\.xml/';
// Remove from robots.txt listing.
$list['base']['robots'] = false;
}
// Remove Yoast-esque /sitemap_index.xml imbecile-hosting (Namecheap)-compatibility output.
unset( $list['index'] );
return $list;
} );