Home
Version 3
Users API

Users API

Get User summary

GET /v2/users/:guid/summary

Request

Route

GET /v2/users/uaa-id-39/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.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMwfQ.1HzQom2yde1SmQdC0IB22Meoi_hSiCnkqpCWXrQAE_o
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "uaa-id-39",
    "created_at": "2015-11-03T00:53:49Z",
    "updated_at": null
  },
  "entity": {
    "organizations": [
      {
        "metadata": {
          "guid": "bb710073-05ca-4dfb-98d8-df85a4090eab",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-425",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-427"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "dc6c452a-f158-4ea5-93b4-11f644a853cc",
              "created_at": "2015-11-03T00:53:49Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-426",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-39",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "managed_organizations": [
      {
        "metadata": {
          "guid": "bb710073-05ca-4dfb-98d8-df85a4090eab",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-425",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-427"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "dc6c452a-f158-4ea5-93b4-11f644a853cc",
              "created_at": "2015-11-03T00:53:49Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-426",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-39",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "billing_managed_organizations": [
      {
        "metadata": {
          "guid": "bb710073-05ca-4dfb-98d8-df85a4090eab",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-425",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-427"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "dc6c452a-f158-4ea5-93b4-11f644a853cc",
              "created_at": "2015-11-03T00:53:49Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-426",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-39",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "audited_organizations": [
      {
        "metadata": {
          "guid": "bb710073-05ca-4dfb-98d8-df85a4090eab",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-425",
          "billing_enabled": false,
          "status": "active",
          "spaces": [
            {
              "metadata": {
                "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "name": "name-427"
              }
            }
          ],
          "quota_definition": {
            "metadata": {
              "guid": "dc6c452a-f158-4ea5-93b4-11f644a853cc",
              "created_at": "2015-11-03T00:53:49Z",
              "updated_at": null
            },
            "entity": {
              "name": "name-426",
              "non_basic_services_allowed": true,
              "total_services": 60,
              "memory_limit": 20480,
              "trial_db_allowed": false
            }
          },
          "managers": [
            {
              "metadata": {
                "guid": "uaa-id-39",
                "created_at": "2015-11-03T00:53:49Z",
                "updated_at": null
              },
              "entity": {
                "admin": false,
                "active": false,
                "default_space_guid": null
              }
            }
          ]
        }
      }
    ],
    "spaces": [
      {
        "metadata": {
          "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-427"
        }
      }
    ],
    "managed_spaces": [
      {
        "metadata": {
          "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-427"
        }
      }
    ],
    "audited_spaces": [
      {
        "metadata": {
          "guid": "32f56e8f-063e-44e4-9902-4dcab4be6281",
          "created_at": "2015-11-03T00:53:49Z",
          "updated_at": null
        },
        "entity": {
          "name": "name-427"
        }
      }
    ]
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 20cb9eef-78c9-4963-9862-61a4176af3ea
Content-Length: 3767
X-Content-Type-Options: nosniff