Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-187/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzB9.LsjylayKbPTvldGcyTAjiSYS8jH8AaHRN30MQXml3dY
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "uaa-id-187",
    "created_at": "2016-04-16T01:23:50Z",
    "updated_at": null
  },
  "entity": {
    "organizations": [
      {
        "metadata": {
          "guid": "7fc812ad-5100-4502-8bcb-40e4ba2a5b48",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-388",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-390"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "5ba12768-a9fa-4ae1-918d-aaaa66d77ecf",
              "created_at": "2016-04-16T01:23:50Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-389",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false,
              "total_routes": 1000,
              "instance_memory_limit": -1,
              "total_private_domains": -1,
              "app_instance_limit": -1,
              "app_task_limit": -1
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-187",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "managed_organizations": [
      {
        "metadata": {
          "guid": "7fc812ad-5100-4502-8bcb-40e4ba2a5b48",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-388",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-390"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "5ba12768-a9fa-4ae1-918d-aaaa66d77ecf",
              "created_at": "2016-04-16T01:23:50Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-389",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false,
              "total_routes": 1000,
              "instance_memory_limit": -1,
              "total_private_domains": -1,
              "app_instance_limit": -1,
              "app_task_limit": -1
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-187",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "billing_managed_organizations": [
      {
        "metadata": {
          "guid": "7fc812ad-5100-4502-8bcb-40e4ba2a5b48",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-388",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-390"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "5ba12768-a9fa-4ae1-918d-aaaa66d77ecf",
              "created_at": "2016-04-16T01:23:50Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-389",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false,
              "total_routes": 1000,
              "instance_memory_limit": -1,
              "total_private_domains": -1,
              "app_instance_limit": -1,
              "app_task_limit": -1
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-187",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "audited_organizations": [
      {
        "metadata": {
          "guid": "7fc812ad-5100-4502-8bcb-40e4ba2a5b48",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-388",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-390"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "5ba12768-a9fa-4ae1-918d-aaaa66d77ecf",
              "created_at": "2016-04-16T01:23:50Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-389",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false,
              "total_routes": 1000,
              "instance_memory_limit": -1,
              "total_private_domains": -1,
              "app_instance_limit": -1,
              "app_task_limit": -1
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-187",
                "created_at": "2016-04-16T01:23:50Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "spaces": [
      {
        "metadata": {
          "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-390"
        }
      }
    ],
    "managed_spaces": [
      {
        "metadata": {
          "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-390"
        }
      }
    ],
    "audited_spaces": [
      {
        "metadata": {
          "guid": "99f6fd7d-51a6-4d72-aabf-9e08363f0d6d",
          "created_at": "2016-04-16T01:23:50Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-390"
        }
      }
    ]
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 77faba36-d2e6-4197-9ad1-2a9ab332cf91
Content-Length: 4244
X-Content-Type-Options: nosniff