Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Fields

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.

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.OJE9-15fE37K9c9qJADRPrd93XgqTj38VD4cS9jE5bo
Host: example.org
Cookie: 

Route

GET /v2/users/uaa-id-269/summary

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-269/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.OJE9-15fE37K9c9qJADRPrd93XgqTj38VD4cS9jE5bo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4f813cbd-20cd-422e-80b6-0d899c07b979
Content-Length: 3787
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-269","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"059cf135-e412-40ee-a323-f61fec691301","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1600","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"quota_definition":{"metadata":{"guid":"94af51b3-22cf-43a0-959a-1e4afd4f655a","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1601","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-269","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"059cf135-e412-40ee-a323-f61fec691301","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1600","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"quota_definition":{"metadata":{"guid":"94af51b3-22cf-43a0-959a-1e4afd4f655a","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1601","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-269","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"059cf135-e412-40ee-a323-f61fec691301","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1600","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"quota_definition":{"metadata":{"guid":"94af51b3-22cf-43a0-959a-1e4afd4f655a","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1601","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-269","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"059cf135-e412-40ee-a323-f61fec691301","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1600","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"quota_definition":{"metadata":{"guid":"94af51b3-22cf-43a0-959a-1e4afd4f655a","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1601","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-269","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"managed_spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}],"audited_spaces":[{"metadata":{"guid":"827a3e2a-114f-4769-8e6b-1d20a80c612d","created_at":"2015-01-27T19:14:39Z","updated_at":null},"entity":{"name":"name-1602"}}]}}