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/4f969d95-26a3-416c-a86b-b1720d764595

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA1fQ.KofNiCIYpbpvfQd3AYDY61YCI0cHx2M-_00nVAxMR-c
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/4f969d95-26a3-416c-a86b-b1720d764595" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA1fQ.KofNiCIYpbpvfQd3AYDY61YCI0cHx2M-_00nVAxMR-c" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4f969d95-26a3-416c-a86b-b1720d764595",
    "url": "/v2/private_domains/4f969d95-26a3-416c-a86b-b1720d764595",
    "created_at": "2015-05-15T16:53:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "4055bd51-e5c5-4935-87d4-a28cba12f221",
    "owning_organization_url": "/v2/organizations/4055bd51-e5c5-4935-87d4-a28cba12f221",
    "shared_organizations_url": "/v2/private_domains/4f969d95-26a3-416c-a86b-b1720d764595/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 86f00183-8803-4e40-9a12-0d94afc8526f
Content-Length: 526
X-Content-Type-Options: nosniff