Get User summary
GET /v2/users/:guid/summary
Request
Route
GET /v2/users/uaa-id-306/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
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-306/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNyIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTN9.ii9ljUsJhjFI_CtZ1gH_xOxYYYwWL8YAUPMP30uuRhM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-306",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"organizations": [
{
"metadata": {
"guid": "df5476b7-20ac-45bf-98a4-897806ad30cc",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1065",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"quota_definition": {
"metadata": {
"guid": "b82a7d2f-bd64-496c-81ce-3cf5036e49b8",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1066",
"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-306",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"managed_organizations": [
{
"metadata": {
"guid": "df5476b7-20ac-45bf-98a4-897806ad30cc",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1065",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"quota_definition": {
"metadata": {
"guid": "b82a7d2f-bd64-496c-81ce-3cf5036e49b8",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1066",
"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-306",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"billing_managed_organizations": [
{
"metadata": {
"guid": "df5476b7-20ac-45bf-98a4-897806ad30cc",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1065",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"quota_definition": {
"metadata": {
"guid": "b82a7d2f-bd64-496c-81ce-3cf5036e49b8",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1066",
"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-306",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"audited_organizations": [
{
"metadata": {
"guid": "df5476b7-20ac-45bf-98a4-897806ad30cc",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1065",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"quota_definition": {
"metadata": {
"guid": "b82a7d2f-bd64-496c-81ce-3cf5036e49b8",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1066",
"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-306",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"managed_spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
],
"audited_spaces": [
{
"metadata": {
"guid": "5a17ffa4-f74b-4e36-ba6a-f0ed46e6745e",
"created_at": "2016-04-06T00:17:33Z",
"updated_at": null
},
"entity": {
"name": "name-1067"
}
}
]
}
}
Headers