Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-258/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTB9.gnSct_ImiLS7SBqTa2VCA1WQWgJHMbC2bLmf8E1LvcA
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-258","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"7114ebb7-ff7f-4895-ae21-90a8074940ec","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1613","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"quota_definition":{"metadata":{"guid":"0306a0f2-049a-42cd-b855-f66ecbe9e168","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1614","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-258","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"7114ebb7-ff7f-4895-ae21-90a8074940ec","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1613","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"quota_definition":{"metadata":{"guid":"0306a0f2-049a-42cd-b855-f66ecbe9e168","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1614","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-258","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"7114ebb7-ff7f-4895-ae21-90a8074940ec","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1613","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"quota_definition":{"metadata":{"guid":"0306a0f2-049a-42cd-b855-f66ecbe9e168","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1614","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-258","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"7114ebb7-ff7f-4895-ae21-90a8074940ec","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1613","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"quota_definition":{"metadata":{"guid":"0306a0f2-049a-42cd-b855-f66ecbe9e168","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1614","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-258","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"managed_spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}],"audited_spaces":[{"metadata":{"guid":"476f61f7-91b5-4ce8-a8db-c19e824b8954","created_at":"2015-07-06T23:23:10Z","updated_at":null},"entity":{"name":"name-1615"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7417d6bb-ce01-4bbd-b0f8-5080a5698773
Content-Length: 3787
X-Content-Type-Options: nosniff