Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-52
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-52" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUzIiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1NTU3OTI5fQ.Bsqu0Nab-9qBRTmwuU5u0fYaTeJZi87REQLDWZEcIQQ" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-52",
"url": "/v2/users/uaa-id-52",
"created_at": "2015-10-15T23:52:09Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "715fccc6-71b5-4528-aa3d-d32126d6f422",
"default_space_url": "/v2/spaces/715fccc6-71b5-4528-aa3d-d32126d6f422",
"spaces_url": "/v2/users/uaa-id-52/spaces",
"organizations_url": "/v2/users/uaa-id-52/organizations",
"managed_organizations_url": "/v2/users/uaa-id-52/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-52/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-52/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-52/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-52/audited_spaces"
}
}
Headers