I need to update endpoint for 50 records on NamedCredential object. I tried different scenarios but nothing seems to be working..
1 - Endpoint is not allowed to filter in SOQL and NamedCredential is not allowed in SOSL.
2 - I get Update is not allowed on NamedCredential when i tried to update through anonymous window with all the record Ids i captured.
3 - NamedCredential object is not available in workbench to update manually
Can anyone suggest any other option other than using the MetdataService class?