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.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMiIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDZ9.cUCO9vMO92l9-jkZCrHUbis3Zj_Ot_5fbQek_AlW9YA
Host: example.org
Cookie: 

Route

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

cURL

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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 309adaab-2956-4740-8b1d-540cfd774e4e
Content-Length: 3787
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-331","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"89f0cd1d-8cba-426b-848a-8371ce380984","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1921","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"quota_definition":{"metadata":{"guid":"35d2fe8a-d915-4ef4-8e0c-e96c88016921","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1922","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-331","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"89f0cd1d-8cba-426b-848a-8371ce380984","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1921","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"quota_definition":{"metadata":{"guid":"35d2fe8a-d915-4ef4-8e0c-e96c88016921","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1922","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-331","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"89f0cd1d-8cba-426b-848a-8371ce380984","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1921","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"quota_definition":{"metadata":{"guid":"35d2fe8a-d915-4ef4-8e0c-e96c88016921","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1922","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-331","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"89f0cd1d-8cba-426b-848a-8371ce380984","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1921","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"quota_definition":{"metadata":{"guid":"35d2fe8a-d915-4ef4-8e0c-e96c88016921","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1922","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-331","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"managed_spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}],"audited_spaces":[{"metadata":{"guid":"0e573b7a-5c1c-4508-b615-fb0df469cc8e","created_at":"2015-02-13T22:35:06Z","updated_at":null},"entity":{"name":"name-1923"}}]}}