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/56ba7ba5-dc2a-43ae-879c-841d6b82fe89

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1IiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTc5fQ.yF7_wLyPXbCJdhoMysFa4K1l1UaE3Br84IZKLgs6Oo0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/56ba7ba5-dc2a-43ae-879c-841d6b82fe89" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1IiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTc5fQ.yF7_wLyPXbCJdhoMysFa4K1l1UaE3Br84IZKLgs6Oo0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "56ba7ba5-dc2a-43ae-879c-841d6b82fe89",
    "url": "/v2/private_domains/56ba7ba5-dc2a-43ae-879c-841d6b82fe89",
    "created_at": "2015-05-21T01:02:57Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "9a346d59-9d39-44cc-9bd0-5ff14ded16ea",
    "owning_organization_url": "/v2/organizations/9a346d59-9d39-44cc-9bd0-5ff14ded16ea",
    "shared_organizations_url": "/v2/private_domains/56ba7ba5-dc2a-43ae-879c-841d6b82fe89/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: daae33b2-c82c-47d5-bfec-394f057caa45
Content-Length: 526
X-Content-Type-Options: nosniff