Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-24/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI1IiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ1fQ.y_Ea7jHHunQ7elQArqV_Nu8VKaGdqbhT936z5tkfhBo
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-24","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"78292690-f0d1-42e3-8a70-a3ccba3f2a9e","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-277","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"quota_definition":{"metadata":{"guid":"372613bc-4f93-4ae9-b3fe-7df963f544da","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-278","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-24","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"78292690-f0d1-42e3-8a70-a3ccba3f2a9e","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-277","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"quota_definition":{"metadata":{"guid":"372613bc-4f93-4ae9-b3fe-7df963f544da","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-278","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-24","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"78292690-f0d1-42e3-8a70-a3ccba3f2a9e","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-277","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"quota_definition":{"metadata":{"guid":"372613bc-4f93-4ae9-b3fe-7df963f544da","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-278","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-24","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"78292690-f0d1-42e3-8a70-a3ccba3f2a9e","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-277","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"quota_definition":{"metadata":{"guid":"372613bc-4f93-4ae9-b3fe-7df963f544da","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-278","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-24","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"managed_spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}],"audited_spaces":[{"metadata":{"guid":"24ade530-f7a3-436d-bdd2-ae24ad799a72","created_at":"2015-06-16T23:40:45Z","updated_at":null},"entity":{"name":"name-279"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 10acc587-a2a2-4f2e-a993-924e4314d068
Content-Length: 3767
X-Content-Type-Options: nosniff