Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-194/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NSIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDB9.LKO0SANgJk-ORQzWzOKROc84Y-bYZKLtFEOsHZzxx5s
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-194/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NSIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDB9.LKO0SANgJk-ORQzWzOKROc84Y-bYZKLtFEOsHZzxx5s" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-194","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"9cf85e07-c71a-4ea8-a54f-27440963c18b","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1303","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"quota_definition":{"metadata":{"guid":"45646af9-8e48-4fbb-8d3d-84d5dbd38f2d","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1304","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-194","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"9cf85e07-c71a-4ea8-a54f-27440963c18b","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1303","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"quota_definition":{"metadata":{"guid":"45646af9-8e48-4fbb-8d3d-84d5dbd38f2d","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1304","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-194","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"9cf85e07-c71a-4ea8-a54f-27440963c18b","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1303","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"quota_definition":{"metadata":{"guid":"45646af9-8e48-4fbb-8d3d-84d5dbd38f2d","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1304","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-194","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"9cf85e07-c71a-4ea8-a54f-27440963c18b","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1303","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"quota_definition":{"metadata":{"guid":"45646af9-8e48-4fbb-8d3d-84d5dbd38f2d","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1304","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-194","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"managed_spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}],"audited_spaces":[{"metadata":{"guid":"13254462-c593-481e-b45b-2f552a3e1793","created_at":"2015-04-15T00:55:40Z","updated_at":null},"entity":{"name":"name-1305"}}]}}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 98a22b24-df4b-4b6b-a6d4-d3de33d2bdce
Content-Length: 3787
X-Content-Type-Options: nosniff