Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-189
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-189" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MCIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDN9.oo6ir-djIkBCkSFHQWmi7m6oVyR1alouxnDRiOYEPPM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-189",
"url": "/v2/users/uaa-id-189",
"created_at": "2016-04-22T19:33:23Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "8005b0e1-653c-4d5b-b778-5d42fe49b7c8",
"default_space_url": "/v2/spaces/8005b0e1-653c-4d5b-b778-5d42fe49b7c8",
"spaces_url": "/v2/users/uaa-id-189/spaces",
"organizations_url": "/v2/users/uaa-id-189/organizations",
"managed_organizations_url": "/v2/users/uaa-id-189/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-189/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-189/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-189/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-189/audited_spaces"
}
}
Headers