Like there is an API to check the policies that are present and also resources that are present
eg : https://api.enterprise.apigee.com/v1/organizations...
So, similarly is there anyway to update the TargetEndpoint details or Policy through management API calls.