Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-158
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-158" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OSIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzJ9.rSzun6oOZfj3chJPsoWw7ClwzIxSuZohgxA1N3K4tck" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-158",
"url": "/v2/users/uaa-id-158",
"created_at": "2016-02-19T02:03:52Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "582afb21-3429-4a87-9971-d29108a1bbfb",
"default_space_url": "/v2/spaces/582afb21-3429-4a87-9971-d29108a1bbfb",
"spaces_url": "/v2/users/uaa-id-158/spaces",
"organizations_url": "/v2/users/uaa-id-158/organizations",
"managed_organizations_url": "/v2/users/uaa-id-158/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-158/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-158/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-158/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-158/audited_spaces"
}
}
Headers