Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-355/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.y6hCPRCWcZRS3-hi8MbXPFDHtaOm9lbX4G_g56ML_y8
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "uaa-id-355",
    "created_at": "2016-06-08T16:41:40Z",
    "updated_at": "2016-06-08T16:41:26Z"
  },
  "entity": {
    "organizations": [
      {
        "metadata": {
          "guid": "a8f940a4-3b9f-4e26-9ceb-2e5062cc1513",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2041",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "name": "name-2043"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "6c6b51c9-823d-4c91-ab5c-9487a93360bc",
              "created_at": "2016-06-08T16:41:40Z",
              "updated_at": "2016-06-08T16:41:26Z"
            },
            "entity": {
              "name": "name-2042",
              "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-355",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "managed_organizations": [
      {
        "metadata": {
          "guid": "a8f940a4-3b9f-4e26-9ceb-2e5062cc1513",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2041",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "name": "name-2043"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "6c6b51c9-823d-4c91-ab5c-9487a93360bc",
              "created_at": "2016-06-08T16:41:40Z",
              "updated_at": "2016-06-08T16:41:26Z"
            },
            "entity": {
              "name": "name-2042",
              "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-355",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "billing_managed_organizations": [
      {
        "metadata": {
          "guid": "a8f940a4-3b9f-4e26-9ceb-2e5062cc1513",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2041",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "name": "name-2043"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "6c6b51c9-823d-4c91-ab5c-9487a93360bc",
              "created_at": "2016-06-08T16:41:40Z",
              "updated_at": "2016-06-08T16:41:26Z"
            },
            "entity": {
              "name": "name-2042",
              "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-355",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "audited_organizations": [
      {
        "metadata": {
          "guid": "a8f940a4-3b9f-4e26-9ceb-2e5062cc1513",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2041",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "name": "name-2043"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "6c6b51c9-823d-4c91-ab5c-9487a93360bc",
              "created_at": "2016-06-08T16:41:40Z",
              "updated_at": "2016-06-08T16:41:26Z"
            },
            "entity": {
              "name": "name-2042",
              "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-355",
                "created_at": "2016-06-08T16:41:40Z",
                "updated_at": "2016-06-08T16:41:26Z"
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "spaces": [
      {
        "metadata": {
          "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2043"
        }
      }
    ],
    "managed_spaces": [
      {
        "metadata": {
          "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2043"
        }
      }
    ],
    "audited_spaces": [
      {
        "metadata": {
          "guid": "db69758e-14e9-4fed-b69a-353a98a05a2e",
          "created_at": "2016-06-08T16:41:40Z",
          "updated_at": "2016-06-08T16:41:26Z"
        },
        "entity": {
          "name": "name-2043"
        }
      }
    ]
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 91d52285-9499-4b27-85fc-f5087607f0e1
Content-Length: 4259
X-Content-Type-Options: nosniff