Thanks lorro.
Sorry to be daft, but I just want to change the overall page template of this endpoint, just like I change the template of a page using the dropdown in the admin. I want this page to have a particular my-account style template.
I guess I need to get the page id and edit the _wp_page_template in the database, but this seems silly. I’m sure I’m over-complicating this.