Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-48
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-48" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ5IiwiZW1haWwiOiJlbWFpbC0yM0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk0fQ.QTMqc6BBuTaRxvELOwV-dPM84BvjUNULIHFUx3aDbb0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-48",
"url": "/v2/users/uaa-id-48",
"created_at": "2015-08-31T21:49:54Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "e3abf355-005b-468f-ba82-624c7931c452",
"default_space_url": "/v2/spaces/e3abf355-005b-468f-ba82-624c7931c452",
"spaces_url": "/v2/users/uaa-id-48/spaces",
"organizations_url": "/v2/users/uaa-id-48/organizations",
"managed_organizations_url": "/v2/users/uaa-id-48/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-48/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-48/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-48/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-48/audited_spaces"
}
}
Headers