Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-301/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMiIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzF9.QWi-UPtco0qjR9nLE0mODvMl9hvh9r-lswX28PjzDyQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-301/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMiIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzF9.QWi-UPtco0qjR9nLE0mODvMl9hvh9r-lswX28PjzDyQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-301","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"3eadafa4-e2b4-4128-bbf9-79af9aeb70e3","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1546","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"quota_definition":{"metadata":{"guid":"3ab827b0-b54a-4b92-99e1-be1e0420a166","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1547","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-301","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"3eadafa4-e2b4-4128-bbf9-79af9aeb70e3","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1546","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"quota_definition":{"metadata":{"guid":"3ab827b0-b54a-4b92-99e1-be1e0420a166","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1547","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-301","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"3eadafa4-e2b4-4128-bbf9-79af9aeb70e3","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1546","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"quota_definition":{"metadata":{"guid":"3ab827b0-b54a-4b92-99e1-be1e0420a166","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1547","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-301","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"3eadafa4-e2b4-4128-bbf9-79af9aeb70e3","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1546","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"quota_definition":{"metadata":{"guid":"3ab827b0-b54a-4b92-99e1-be1e0420a166","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1547","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-301","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"managed_spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}],"audited_spaces":[{"metadata":{"guid":"d7c6d012-12f8-45e0-b159-d7042fd8c81e","created_at":"2015-03-03T00:51:11Z","updated_at":null},"entity":{"name":"name-1548"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 198dd899-de96-461c-9d96-216aafe5e3e0
Content-Length: 3787
X-Content-Type-Options: nosniff