GET /v2/users/uaa-id-7/managed_organizations?managed_organization_guid=5330bb60-062a-4da2-87db-a8f67ef1e7f5
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the User |
|
|
managed_organization_guid | The guid of the managed_organization |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: name, space_guid, user_guid, manager_guid, billing_manager_guid, auditor_guid, status |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
managed_organization_guid: 5330bb60-062a-4da2-87db-a8f67ef1e7f5
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkyN30.cJOQB__o_fyipGN5mXaL41tRLGCGTdVE6SoU8Hn9Nhg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/users/uaa-id-7/managed_organizations?managed_organization_guid=5330bb60-062a-4da2-87db-a8f67ef1e7f5" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkyN30.cJOQB__o_fyipGN5mXaL41tRLGCGTdVE6SoU8Hn9Nhg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "8ea4e540-84e1-4b70-8512-010cd6a8463b", "url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b", "created_at": "2015-10-15T23:52:07Z", "updated_at": null }, "entity": { "name": "name-20", "billing_enabled": false, "quota_definition_guid": "7dcb7077-36e0-4327-8e3d-bfd9805ed606", "status": "active", "quota_definition_url": "/v2/quota_definitions/7dcb7077-36e0-4327-8e3d-bfd9805ed606", "spaces_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/spaces", "domains_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/domains", "private_domains_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/private_domains", "users_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/users", "managers_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/managers", "billing_managers_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/billing_managers", "auditors_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/auditors", "app_events_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/app_events", "space_quota_definitions_url": "/v2/organizations/8ea4e540-84e1-4b70-8512-010cd6a8463b/space_quota_definitions" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: cc015f56-d369-497e-915c-8e47ae94fecd Content-Length: 1501 X-Content-Type-Options: nosniff