Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-317
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-317" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxOCIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTd9.e2byZUP7dNqBcLxD0b_seK18ks5EIorKvCtrCqM6IdA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-317",
"url": "/v2/users/uaa-id-317",
"created_at": "2016-06-08T16:41:37Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "fc898723-2192-42d9-9567-c0b2e03a3169",
"default_space_url": "/v2/spaces/fc898723-2192-42d9-9567-c0b2e03a3169",
"spaces_url": "/v2/users/uaa-id-317/spaces",
"organizations_url": "/v2/users/uaa-id-317/organizations",
"managed_organizations_url": "/v2/users/uaa-id-317/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-317/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-317/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-317/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-317/audited_spaces"
}
}
Headers