Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-296/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NyIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDJ9.2WkzBAhA4fArY8Qvah66z6e1V8Y6A-4ZQgWY2cOFS2U
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-296/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NyIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDJ9.2WkzBAhA4fArY8Qvah66z6e1V8Y6A-4ZQgWY2cOFS2U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-296","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"00acaf85-79d2-4ddf-96d5-e6c3198e98c2","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1883","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"quota_definition":{"metadata":{"guid":"4718f21e-2e27-43be-8eec-8da07738ffb7","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1884","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-296","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"00acaf85-79d2-4ddf-96d5-e6c3198e98c2","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1883","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"quota_definition":{"metadata":{"guid":"4718f21e-2e27-43be-8eec-8da07738ffb7","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1884","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-296","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"00acaf85-79d2-4ddf-96d5-e6c3198e98c2","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1883","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"quota_definition":{"metadata":{"guid":"4718f21e-2e27-43be-8eec-8da07738ffb7","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1884","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-296","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"00acaf85-79d2-4ddf-96d5-e6c3198e98c2","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1883","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"quota_definition":{"metadata":{"guid":"4718f21e-2e27-43be-8eec-8da07738ffb7","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1884","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-296","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"managed_spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}],"audited_spaces":[{"metadata":{"guid":"894a409a-c580-40cd-b9cd-09482485e037","created_at":"2015-05-07T23:37:22Z","updated_at":null},"entity":{"name":"name-1885"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4354f964-7be0-4ef3-9269-a80337dc4df8
Content-Length: 3787
X-Content-Type-Options: nosniff