Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-465
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-465" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2NiIsImVtYWlsIjoiZW1haWwtMzM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NjB9.Z17TXPlw6-efI1oH_NwRk8lK734u3sOcF_ZdLiqx1NU" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-465",
"url": "/v2/users/uaa-id-465",
"created_at": "2015-11-03T00:54:20Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "496e0315-1b0e-43b6-b204-808ef2c25011",
"default_space_url": "/v2/spaces/496e0315-1b0e-43b6-b204-808ef2c25011",
"spaces_url": "/v2/users/uaa-id-465/spaces",
"organizations_url": "/v2/users/uaa-id-465/organizations",
"managed_organizations_url": "/v2/users/uaa-id-465/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-465/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-465/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-465/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-465/audited_spaces"
}
}
Headers