Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-141/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MiIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5M30.D9mRUCWWve8F_dOcSpae12gjuNRp9T2dsKS2DQzbJYI
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-141","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"7de47f8a-5aaf-4b65-b160-a1707858b9e3","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-327","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"quota_definition":{"metadata":{"guid":"f0449a06-c81b-4630-bcc3-5e128ea33b95","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-328","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-141","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"7de47f8a-5aaf-4b65-b160-a1707858b9e3","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-327","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"quota_definition":{"metadata":{"guid":"f0449a06-c81b-4630-bcc3-5e128ea33b95","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-328","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-141","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"7de47f8a-5aaf-4b65-b160-a1707858b9e3","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-327","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"quota_definition":{"metadata":{"guid":"f0449a06-c81b-4630-bcc3-5e128ea33b95","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-328","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-141","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"7de47f8a-5aaf-4b65-b160-a1707858b9e3","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-327","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"quota_definition":{"metadata":{"guid":"f0449a06-c81b-4630-bcc3-5e128ea33b95","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-328","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-141","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"managed_spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}],"audited_spaces":[{"metadata":{"guid":"6df078fa-a6d5-4b3e-bb5d-536a1c39c247","created_at":"2015-07-27T22:43:13Z","updated_at":null},"entity":{"name":"name-329"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: aedd5da3-708d-403c-ac51-a36ae6a807c2
Content-Length: 3772
X-Content-Type-Options: nosniff