Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-54/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.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC01NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA3fQ.lGT35t9u6H3DrGY-SyA1-isk4x4oeK0ZfEviFtCJ0Iw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-54/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC01NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA3fQ.lGT35t9u6H3DrGY-SyA1-isk4x4oeK0ZfEviFtCJ0Iw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-54","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"fa57d2fa-acc5-4e72-bf39-fc0fa26bd927","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-249","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"quota_definition":{"metadata":{"guid":"3bfb565c-7e0f-455c-931d-e8d0ac8ae7c0","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-250","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-54","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"fa57d2fa-acc5-4e72-bf39-fc0fa26bd927","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-249","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"quota_definition":{"metadata":{"guid":"3bfb565c-7e0f-455c-931d-e8d0ac8ae7c0","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-250","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-54","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"fa57d2fa-acc5-4e72-bf39-fc0fa26bd927","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-249","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"quota_definition":{"metadata":{"guid":"3bfb565c-7e0f-455c-931d-e8d0ac8ae7c0","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-250","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-54","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"fa57d2fa-acc5-4e72-bf39-fc0fa26bd927","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-249","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"quota_definition":{"metadata":{"guid":"3bfb565c-7e0f-455c-931d-e8d0ac8ae7c0","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-250","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-54","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"managed_spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}],"audited_spaces":[{"metadata":{"guid":"0dae47b0-41e5-4f9f-8050-e76e1189fbb8","created_at":"2015-05-15T16:53:27Z","updated_at":null},"entity":{"name":"name-251"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8a672553-9499-427c-b70a-09fa3a91b055
Content-Length: 3767
X-Content-Type-Options: nosniff