Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-110/summary

Body

Name Description Default Valid Values Example Values
guid The guid of the user for which summary is requested
audited_spaces List of spaces that the user is an auditor for.
managed_spaces List of spaces that the user is a manager for.
spaces List of spaces that the user is developer for.
audited_organizations List of organizations that the user is an auditor for.
billing_managed_organizations List of organizations that the user is a billing manager for.
managed_organizations List of organizations that the user is a manager for.
organizations List of organizations that the user is a member of.

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzOTQyNjE5N30.0nQ1NbwZN9l1bbh44y8q4QTnrsONhDmJTOWsRlhjIw4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-110/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzOTQyNjE5N30.0nQ1NbwZN9l1bbh44y8q4QTnrsONhDmJTOWsRlhjIw4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-110","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"12cc6ebc-cfbb-4d84-b70c-0a5ebda4b066","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-405","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"quota_definition":{"metadata":{"guid":"95d2e5a0-987b-4fee-b27b-263423d36f41","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-406","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-110","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"12cc6ebc-cfbb-4d84-b70c-0a5ebda4b066","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-405","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"quota_definition":{"metadata":{"guid":"95d2e5a0-987b-4fee-b27b-263423d36f41","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-406","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-110","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"12cc6ebc-cfbb-4d84-b70c-0a5ebda4b066","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-405","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"quota_definition":{"metadata":{"guid":"95d2e5a0-987b-4fee-b27b-263423d36f41","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-406","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-110","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"12cc6ebc-cfbb-4d84-b70c-0a5ebda4b066","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-405","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"quota_definition":{"metadata":{"guid":"95d2e5a0-987b-4fee-b27b-263423d36f41","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-406","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-110","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"managed_spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}],"audited_spaces":[{"metadata":{"guid":"5f0d50b6-0f7c-4b75-9a7e-f3e462a0c60c","created_at":"2015-08-06T00:36:37Z","updated_at":null},"entity":{"name":"name-407"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3a25fede-0c97-41db-85d5-69ce9376dade
Content-Length: 3772
X-Content-Type-Options: nosniff