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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzR9.W3bnDpWFc6nt0kBb1Qygn6V_YMyMcbISPQ6kihNZ0g4
Host: example.org
Cookie: 

Route

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

cURL

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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1366d4a3-e7be-47d0-a9ba-1867725b61b9
Content-Length: 3787
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"metadata":{"guid":"uaa-id-230","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"organizations":[{"metadata":{"guid":"a77bfe79-37e8-4251-81b0-89d00215f17f","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1472","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"quota_definition":{"metadata":{"guid":"7a83d7e6-98fb-4b04-a29b-a73cc36ba822","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1473","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-230","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"managed_organizations":[{"metadata":{"guid":"a77bfe79-37e8-4251-81b0-89d00215f17f","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1472","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"quota_definition":{"metadata":{"guid":"7a83d7e6-98fb-4b04-a29b-a73cc36ba822","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1473","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-230","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"billing_managed_organizations":[{"metadata":{"guid":"a77bfe79-37e8-4251-81b0-89d00215f17f","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1472","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"quota_definition":{"metadata":{"guid":"7a83d7e6-98fb-4b04-a29b-a73cc36ba822","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1473","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-230","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"audited_organizations":[{"metadata":{"guid":"a77bfe79-37e8-4251-81b0-89d00215f17f","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1472","billing_enabled":false,"status":"active","spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"quota_definition":{"metadata":{"guid":"7a83d7e6-98fb-4b04-a29b-a73cc36ba822","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1473","non_basic_services_allowed":true,"total_services":60,"memory_limit":20480,"trial_db_allowed":false}},"managers":[{"metadata":{"guid":"uaa-id-230","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"admin":false,"active":false,"default_space_guid":null}}]}}],"spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"managed_spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}],"audited_spaces":[{"metadata":{"guid":"4da16d51-56ff-44a4-a28a-97b62993258a","created_at":"2015-02-12T01:42:14Z","updated_at":null},"entity":{"name":"name-1474"}}]}}