Retrieve a Particular User
GET /v2/users/:guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Request
Headers
Route
GET /v2/users/uaa-id-85
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-85" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg2IiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.o7LnSKTLL_6RnEtgRfdoM46YWs1XKreGEittx5mpleE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-85",
"url": "/v2/users/uaa-id-85",
"created_at": "2015-02-10T01:42:44Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "46f48ef4-32c7-461e-a179-a25209a77941",
"default_space_url": "/v2/spaces/46f48ef4-32c7-461e-a179-a25209a77941",
"spaces_url": "/v2/users/uaa-id-85/spaces",
"organizations_url": "/v2/users/uaa-id-85/organizations",
"managed_organizations_url": "/v2/users/uaa-id-85/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-85/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-85/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-85/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-85/audited_spaces"
}
}