Home
Version 3
Users API

Users API

Retrieve a Particular User

GET /v2/users/:guid

Request

Route

GET /v2/users/uaa-id-348

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjZ9.WddkpA2LMmxeYMyb4Xwc4uNxlQ19Z3_pFc-KJxkXKds
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-348" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjZ9.WddkpA2LMmxeYMyb4Xwc4uNxlQ19Z3_pFc-KJxkXKds" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "uaa-id-348",
    "url": "/v2/users/uaa-id-348",
    "created_at": "2015-05-15T16:53:46Z",
    "updated_at": null
  },
  "entity": {
    "admin": false,
    "active": false,
    "default_space_guid": "9c94ec75-d93e-4b62-bfa5-646e92961db0",
    "default_space_url": "/v2/spaces/9c94ec75-d93e-4b62-bfa5-646e92961db0",
    "spaces_url": "/v2/users/uaa-id-348/spaces",
    "organizations_url": "/v2/users/uaa-id-348/organizations",
    "managed_organizations_url": "/v2/users/uaa-id-348/managed_organizations",
    "billing_managed_organizations_url": "/v2/users/uaa-id-348/billing_managed_organizations",
    "audited_organizations_url": "/v2/users/uaa-id-348/audited_organizations",
    "managed_spaces_url": "/v2/users/uaa-id-348/managed_spaces",
    "audited_spaces_url": "/v2/users/uaa-id-348/audited_spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 879a2c2f-df09-4d52-8bb8-b267390ee610
Content-Length: 845
X-Content-Type-Options: nosniff