Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-330
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-330" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMSIsImVtYWlsIjoiZW1haWwtMjI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5ODh9.luolhzzKN1qz070ynpQ2dlXNLlL-oQc1kd1CcagCSIM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-330",
"url": "/v2/users/uaa-id-330",
"created_at": "2016-01-13T17:29:48Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "7e7feeb4-2adf-453b-b990-0b9b02064cca",
"default_space_url": "/v2/spaces/7e7feeb4-2adf-453b-b990-0b9b02064cca",
"spaces_url": "/v2/users/uaa-id-330/spaces",
"organizations_url": "/v2/users/uaa-id-330/organizations",
"managed_organizations_url": "/v2/users/uaa-id-330/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-330/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-330/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-330/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-330/audited_spaces"
}
}
Headers