How to use saml connection’s RequestTemplate to add/remove RequestedAuthnContext with API

Hi All,
I am trying to modify connections request template to accommodate options such as NameId, RequestedAuthnContext to be password.

In past we have received requests from user to modify RequestedAuthNContext or change NameId- how can we achieve this in Auth0 with an API

I was trying to do below to support my usecase, but could not:

  1. Not able to add/remove requestTemplate elements with API (e.g. samlp:RequestedAuthnContext)
  2. Add token values in Connection.metadata (the token @@Connection.metadata.customField@@ was not recognized)