Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-200
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-200" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMSIsImVtYWlsIjoiZW1haWwtMTI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzB9.OXESwCIVkhbCDxp7TLTTRjPWy50_7y_UKS6o-265khY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-200",
"url": "/v2/users/uaa-id-200",
"created_at": "2016-04-16T01:23:50Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "c7baeef4-23b3-4658-91e8-5415ff4a0965",
"default_space_url": "/v2/spaces/c7baeef4-23b3-4658-91e8-5415ff4a0965",
"spaces_url": "/v2/users/uaa-id-200/spaces",
"organizations_url": "/v2/users/uaa-id-200/organizations",
"managed_organizations_url": "/v2/users/uaa-id-200/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-200/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-200/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-200/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-200/audited_spaces"
}
}
Headers