Setting Org Manager via API
Daniel Jones
Hi all,
I'm working on some automation for my client to declaratively configure orgs and spaces across multiple Cloud Foundry instances (hopefully they'll permit open-sourcing this). I erroneously tried to set a user as an OrgManager by first calling Associate Managed Organization with the User <http://apidocs.cloudfoundry.org/210/users/associate_managed_organization_with_the_user.html>; after getting InvalidRelation errors I used CF_TRACE to spy on the CLI, and realised that it instead uses Associate Manager with the Organization <http://apidocs.cloudfoundry.org/210/organizations/associate_manager_with_the_organization.html> . I've got a few questions: - What's the purpose of the Associate User with the Organization <http://apidocs.cloudfoundry.org/210/organizations/associate_user_with_the_organization.html> CC API call? - If I don't call Associate User with the Organization <http://apidocs.cloudfoundry.org/210/organizations/associate_user_with_the_organization.html>, what effects can I expect to see? - Is Associate User with the Organization <http://apidocs.cloudfoundry.org/210/organizations/associate_user_with_the_organization.html> something that only exists for the benefit of the Pivotal console app? - What's the correct usage of Associate Managed Organization with the User <http://apidocs.cloudfoundry.org/210/users/associate_managed_organization_with_the_user.html> ? Many thanks in advance. -- Regards, Daniel Jones EngineerBetter.com |
|