Home
Version 3
Private Domains API

Private Domains API

Retrieve a Particular Private Domain

GET /v2/private_domains/:guid

Request

Route

GET /v2/private_domains/57ce3488-567f-45ac-b43c-c5e801290bd6

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjB9._s9_erZ5ycHTvXgpcd6JU_UogWv9g2_u05VvyDmUTzo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/57ce3488-567f-45ac-b43c-c5e801290bd6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjB9._s9_erZ5ycHTvXgpcd6JU_UogWv9g2_u05VvyDmUTzo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "57ce3488-567f-45ac-b43c-c5e801290bd6",
    "url": "/v2/private_domains/57ce3488-567f-45ac-b43c-c5e801290bd6",
    "created_at": "2016-01-26T22:20:04Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "b5b0eb3a-7649-4765-8d43-92f633c0456d",
    "owning_organization_url": "/v2/organizations/b5b0eb3a-7649-4765-8d43-92f633c0456d",
    "shared_organizations_url": "/v2/private_domains/57ce3488-567f-45ac-b43c-c5e801290bd6/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 526
X-Content-Type-Options: nosniff