It seems that the api to GET the credential returns endpoint with a different key as compare to what is expected by PUT api for updating the credential .
API : /commandcenter/api/v5/credential/:credentialid
Even from the document the key name is different from what is returned.

As you can see from actual output , we get extra “Endpoint” in the key name.

This results the automation of GET and PUT request , to remove the endpoint completely . I agree that we can modify it in the automation before hitting PUT , but I still feel this is a BUG. Any one faces / observed this issue ?