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-195
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-195" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NiIsImVtYWlsIjoiZW1haWwtMTM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzR9.3HkC_3Ov1jAw911jHS05Vg6nYQPZNT-uC73UVl7q_8M" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "uaa-id-195",
"url": "/v2/users/uaa-id-195",
"created_at": "2015-01-27T19:14:34Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "337a4816-116a-46ce-ad79-a2bfd8302290",
"default_space_url": "/v2/spaces/337a4816-116a-46ce-ad79-a2bfd8302290",
"spaces_url": "/v2/users/uaa-id-195/spaces",
"organizations_url": "/v2/users/uaa-id-195/organizations",
"managed_organizations_url": "/v2/users/uaa-id-195/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-195/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-195/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-195/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-195/audited_spaces"
}
}