Get User summary
GET /v2/users/:guid/summary
Request
Route
GET /v2/users/uaa-id-207/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-207/summary" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOCIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MTV9.AgZ267P4bgrykffImKr0VQmxjUzk9Ql8r_wDrsvTyoc" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-207",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"organizations": [
{
"metadata": {
"guid": "a38d0083-5d1b-4505-a463-bdaa00849734",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1476",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"quota_definition": {
"metadata": {
"guid": "23b0a8e9-1108-4af7-8383-e1b1a17414eb",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1477",
"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-207",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"managed_organizations": [
{
"metadata": {
"guid": "a38d0083-5d1b-4505-a463-bdaa00849734",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1476",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"quota_definition": {
"metadata": {
"guid": "23b0a8e9-1108-4af7-8383-e1b1a17414eb",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1477",
"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-207",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"billing_managed_organizations": [
{
"metadata": {
"guid": "a38d0083-5d1b-4505-a463-bdaa00849734",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1476",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"quota_definition": {
"metadata": {
"guid": "23b0a8e9-1108-4af7-8383-e1b1a17414eb",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1477",
"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-207",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"audited_organizations": [
{
"metadata": {
"guid": "a38d0083-5d1b-4505-a463-bdaa00849734",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1476",
"billing_enabled": false,
"status": "active",
"spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"quota_definition": {
"metadata": {
"guid": "23b0a8e9-1108-4af7-8383-e1b1a17414eb",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1477",
"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-207",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": null
}
}
]
}
}
],
"spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"managed_spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
],
"audited_spaces": [
{
"metadata": {
"guid": "fa588a74-c087-479c-b39d-4cbb5f293e5f",
"created_at": "2016-05-12T00:45:15Z",
"updated_at": null
},
"entity": {
"name": "name-1478"
}
}
]
}
}
Headers