Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-24
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-24" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1IiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzODM3MjU0fQ.hJURlpX3k5JkVm_NMVEUwmBXaVszOpJ3sgF_76lFFwM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-24",
"url": "/v2/users/uaa-id-24",
"created_at": "2016-01-19T19:40:54Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "77d506c0-9976-41ae-abad-4954d25839ec",
"default_space_url": "/v2/spaces/77d506c0-9976-41ae-abad-4954d25839ec",
"spaces_url": "/v2/users/uaa-id-24/spaces",
"organizations_url": "/v2/users/uaa-id-24/organizations",
"managed_organizations_url": "/v2/users/uaa-id-24/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-24/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-24/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-24/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-24/audited_spaces"
}
}
Headers