Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Fields

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.

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OCIsImVtYWlsIjoiZW1haWwtMTExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDN9.SE6OBSQjGbfSva_7QJe3YxE8A1KNocIjQttR5htqVwk
Host: example.org
Cookie: 

Route

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

cURL

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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0ad4ac9a-e2f5-42c8-a381-45fb9c2f3435
Content-Length: 3872
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-147","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"a958865e-fe7f-48d5-97db-cb246a7d344b","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-691","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"quota_definition":{"metadata":{"guid":"c2db14b0-12a2-4a55-a9f4-2d723b89fa90","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-692","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-147","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"a958865e-fe7f-48d5-97db-cb246a7d344b","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-691","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"quota_definition":{"metadata":{"guid":"c2db14b0-12a2-4a55-a9f4-2d723b89fa90","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-692","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-147","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"a958865e-fe7f-48d5-97db-cb246a7d344b","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-691","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"quota_definition":{"metadata":{"guid":"c2db14b0-12a2-4a55-a9f4-2d723b89fa90","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-692","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-147","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"a958865e-fe7f-48d5-97db-cb246a7d344b","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-691","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"quota_definition":{"metadata":{"guid":"c2db14b0-12a2-4a55-a9f4-2d723b89fa90","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-692","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-147","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"managed_spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}],"audited_spaces":[{"metadata":{"guid":"ceb38372-d37d-42b7-922a-c00ac1096cd2","created_at":"2014-11-13T23:38:23+00:00","updated_at":null},"entity":{"name":"name-693"}}]}}