Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-191
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-191" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MiIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NDZ9.82Mi88OPef7czkchuEg5HNogEm0o54QEa6bmi-kPDYY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-191",
"url": "/v2/users/uaa-id-191",
"created_at": "2016-04-06T00:17:26Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "5686496d-5c0a-4f0f-8f52-53f2394d9ab6",
"default_space_url": "/v2/spaces/5686496d-5c0a-4f0f-8f52-53f2394d9ab6",
"spaces_url": "/v2/users/uaa-id-191/spaces",
"organizations_url": "/v2/users/uaa-id-191/organizations",
"managed_organizations_url": "/v2/users/uaa-id-191/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-191/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-191/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-191/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-191/audited_spaces"
}
}
Headers