Retrieve a Particular User
GET /v2/users/:guid
Request
Route
GET /v2/users/uaa-id-94
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-94" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk1IiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzQxfQ.35wzkNzVENiM55X209mvyQ5zlda6PMZWpj9P4lREIMA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-94",
"url": "/v2/users/uaa-id-94",
"created_at": "2015-03-05T19:15:41Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "6ce263a1-b17a-4acd-a450-f0d6fdd3d1b0",
"default_space_url": "/v2/spaces/6ce263a1-b17a-4acd-a450-f0d6fdd3d1b0",
"spaces_url": "/v2/users/uaa-id-94/spaces",
"organizations_url": "/v2/users/uaa-id-94/organizations",
"managed_organizations_url": "/v2/users/uaa-id-94/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-94/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-94/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-94/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-94/audited_spaces"
}
}
Headers