Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-386/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NyIsImVtYWlsIjoiZW1haWwtMjg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NzB9.ZL-d07-yOIdAnaQIjE50RylUuT2CcY4Vmn40sLFU4iU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-386/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NyIsImVtYWlsIjoiZW1haWwtMjg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NzB9.ZL-d07-yOIdAnaQIjE50RylUuT2CcY4Vmn40sLFU4iU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-386","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"34dc8a90-3530-4745-a48b-0d0d7bf52de9","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2081","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"quota_definition":{"metadata":{"guid":"2e7bd153-8e37-45e5-960a-6ce3632846cd","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2082","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-386","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"34dc8a90-3530-4745-a48b-0d0d7bf52de9","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2081","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"quota_definition":{"metadata":{"guid":"2e7bd153-8e37-45e5-960a-6ce3632846cd","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2082","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-386","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"34dc8a90-3530-4745-a48b-0d0d7bf52de9","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2081","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"quota_definition":{"metadata":{"guid":"2e7bd153-8e37-45e5-960a-6ce3632846cd","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2082","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-386","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"34dc8a90-3530-4745-a48b-0d0d7bf52de9","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2081","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"quota_definition":{"metadata":{"guid":"2e7bd153-8e37-45e5-960a-6ce3632846cd","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2082","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-386","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"managed_spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}],"audited_spaces":[{"metadata":{"guid":"3280f1f8-78bb-434b-a76b-2ce93e6cea1c","created_at":"2015-03-20T18:27:50Z","updated_at":null},"entity":{"name":"name-2083"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2cb4f080-a778-4bc2-8b96-eaf6e6c5af97
Content-Length: 3787
X-Content-Type-Options: nosniff