Name | Description | Default | Valid Values | Example Values |
---|
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the User |
|
|
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. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYyIiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMyfQ.vbKrIphb3kcO9EPtk3TGGkDYcBSQzPo3i090GslHlGM Host: example.org Cookie:
GET /v2/users/uaa-id-61/audited_organizations
curl "https://api.[your-domain.com]/v2/users/uaa-id-61/audited_organizations" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYyIiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMyfQ.vbKrIphb3kcO9EPtk3TGGkDYcBSQzPo3i090GslHlGM" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: ce1a4f3f-c809-43e1-9530-8baebfb4749a Content-Length: 1507 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "aabf648d-4307-4f73-8be2-67bec09f35ff", "url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff", "created_at": "2014-11-05T01:02:12+00:00", "updated_at": null }, "entity": { "name": "name-220", "billing_enabled": false, "quota_definition_guid": "03db9e9d-4441-4eb3-95b1-9ba9ad8d168a", "status": "active", "quota_definition_url": "/v2/quota_definitions/03db9e9d-4441-4eb3-95b1-9ba9ad8d168a", "spaces_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/spaces", "domains_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/domains", "private_domains_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/private_domains", "users_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/users", "managers_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/managers", "billing_managers_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/billing_managers", "auditors_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/auditors", "app_events_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/app_events", "space_quota_definitions_url": "/v2/organizations/aabf648d-4307-4f73-8be2-67bec09f35ff/space_quota_definitions" } } ] }