Updating Metafiled Validation Options via API?

The above issue got resolved when we used the API version 2023-04, initially, I was using the 2023-01 version.