Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-367/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTZ9.wPY-wnwEYSufys-WW-ly5XUYz8hTxSdoRa6p8zEyS1Y
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-367/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTZ9.wPY-wnwEYSufys-WW-ly5XUYz8hTxSdoRa6p8zEyS1Y" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-367","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"d5cbe458-cee4-4c27-9898-0f5671817c6a","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2235","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"quota_definition":{"metadata":{"guid":"7ff06b9a-06ba-44f7-8ded-43e79d73258c","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2236","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-367","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"d5cbe458-cee4-4c27-9898-0f5671817c6a","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2235","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"quota_definition":{"metadata":{"guid":"7ff06b9a-06ba-44f7-8ded-43e79d73258c","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2236","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-367","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"d5cbe458-cee4-4c27-9898-0f5671817c6a","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2235","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"quota_definition":{"metadata":{"guid":"7ff06b9a-06ba-44f7-8ded-43e79d73258c","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2236","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-367","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"d5cbe458-cee4-4c27-9898-0f5671817c6a","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2235","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"quota_definition":{"metadata":{"guid":"7ff06b9a-06ba-44f7-8ded-43e79d73258c","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2236","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-367","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"managed_spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}],"audited_spaces":[{"metadata":{"guid":"29d68c32-ff4d-4aba-9344-ed1084b75610","created_at":"2015-08-31T21:50:16Z","updated_at":null},"entity":{"name":"name-2237"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2fd16324-c2fb-435f-8a69-3dec517e84da
Content-Length: 3787
X-Content-Type-Options: nosniff