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/dc138d35-a6cb-45e7-b8eb-db1d82309ae3

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM4fQ.R8HU9WFeeg_nV0-ZxRoow_PfYV9FBxO5MhHwDO2hrj0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/dc138d35-a6cb-45e7-b8eb-db1d82309ae3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM4fQ.R8HU9WFeeg_nV0-ZxRoow_PfYV9FBxO5MhHwDO2hrj0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "dc138d35-a6cb-45e7-b8eb-db1d82309ae3",
    "url": "/v2/private_domains/dc138d35-a6cb-45e7-b8eb-db1d82309ae3",
    "created_at": "2016-04-06T00:17:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "9d6ce600-424a-442c-a7ea-2d3f72d49806",
    "owning_organization_url": "/v2/organizations/9d6ce600-424a-442c-a7ea-2d3f72d49806",
    "shared_organizations_url": "/v2/private_domains/dc138d35-a6cb-45e7-b8eb-db1d82309ae3/shared_organizations"
  }
}

Headers

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