I have been spending some time with the new vSAN Data Protection (DP) capability that was just introduced with the latest vSphere 8.0 Update 3 release and if you are interested in what you can do with this new functionality, Duncan Epping has recently published a blog post on this exact topic that you should check out!
While the new vSAN DP capability can easily be consumed using the new vSphere UI plugin, it can be even more powerful with automation and I was interested in learning more about the vSAN DP API and how administrators can consume it.
Today, the vSAN DP (REST) API endpoint is part of the vSAN DP Virtual Appliance, which must be deployed access both the vSAN DP vSphere UI plugin and vSAN DP API. Since the vSAN DP API is available as a separate API endpoint, to authenticate you will need to request a SAML token from the vCenter Single Sign-On (SSO) service. There are currently some issues with the vSAN DP API documentation and once that is available, which I will linked, you will find more information about requesting a token along with all the available methods.