Home
Version 3
Users API

Users API

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

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjMyMzUyOH0.3xWPAhoJOTbzy2_vQI7p1DS7IHDxl5KElWXGoNAfZIg
Host: example.org
Cookie: 

Route

GET /v2/users/uaa-id-7

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjMyMzUyOH0.3xWPAhoJOTbzy2_vQI7p1DS7IHDxl5KElWXGoNAfZIg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d71fd826-e367-492d-9d3d-0d6c9d26d692
Content-Length: 832
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "uaa-id-7",
    "url": "/v2/users/uaa-id-7",
    "created_at": "2015-01-20T01:52:08+00:00",
    "updated_at": null
  },
  "entity": {
    "admin": false,
    "active": false,
    "default_space_guid": "b5da9b08-6dcb-4a2e-a580-b8281ed961cb",
    "default_space_url": "/v2/spaces/b5da9b08-6dcb-4a2e-a580-b8281ed961cb",
    "spaces_url": "/v2/users/uaa-id-7/spaces",
    "organizations_url": "/v2/users/uaa-id-7/organizations",
    "managed_organizations_url": "/v2/users/uaa-id-7/managed_organizations",
    "billing_managed_organizations_url": "/v2/users/uaa-id-7/billing_managed_organizations",
    "audited_organizations_url": "/v2/users/uaa-id-7/audited_organizations",
    "managed_spaces_url": "/v2/users/uaa-id-7/managed_spaces",
    "audited_spaces_url": "/v2/users/uaa-id-7/audited_spaces"
  }
}