This commit is part of our plan to deprecate and ultimately remove the use of _xpack in the REST APIs. Relates #35958
Relates to #29827