Hello Alexandru Caracostea,
Thank you for contacting Microsoft!
The Graph API endpoint used seems to be beta version which is as suggested by Microsoft not to use such APIs in production as they are subject to change. They can be leveraged only once they are stable and generally available for usage.
Additionally, to know if any changes have been made to endpoint of Graph, you can verify in the changelog of Microsoft Graph i.e. https://developer.microsoft.com/en-us/graph/changelog.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.