Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-364/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTl9.Y8tiI1_YU-WItcqc1TVQNC8CM7y1L7AZfoD51FdkYwc
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-364","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"28e3e6a1-a32a-4c91-bc68-c70a08a49570","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2210","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"quota_definition":{"metadata":{"guid":"0b642aab-d90e-41c3-b963-91bd70ce6fa8","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2211","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-364","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"28e3e6a1-a32a-4c91-bc68-c70a08a49570","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2210","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"quota_definition":{"metadata":{"guid":"0b642aab-d90e-41c3-b963-91bd70ce6fa8","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2211","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-364","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"28e3e6a1-a32a-4c91-bc68-c70a08a49570","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2210","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"quota_definition":{"metadata":{"guid":"0b642aab-d90e-41c3-b963-91bd70ce6fa8","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2211","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-364","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"28e3e6a1-a32a-4c91-bc68-c70a08a49570","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2210","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"quota_definition":{"metadata":{"guid":"0b642aab-d90e-41c3-b963-91bd70ce6fa8","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2211","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-364","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"managed_spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}],"audited_spaces":[{"metadata":{"guid":"31f742b0-3753-4991-94c5-b4fc5af51480","created_at":"2015-05-21T01:03:19Z","updated_at":null},"entity":{"name":"name-2212"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 16d800a5-8e31-46ba-bad1-75baededc71f
Content-Length: 3787
X-Content-Type-Options: nosniff