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/bf29c3d5-96e4-44b5-983b-3f443f8d7214

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI4fQ.IzI5T77aad87cBZilJ7bsxCDlQuPd5g0_PZ2THfFJZs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/bf29c3d5-96e4-44b5-983b-3f443f8d7214" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI4fQ.IzI5T77aad87cBZilJ7bsxCDlQuPd5g0_PZ2THfFJZs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "bf29c3d5-96e4-44b5-983b-3f443f8d7214",
    "url": "/v2/private_domains/bf29c3d5-96e4-44b5-983b-3f443f8d7214",
    "created_at": "2015-09-11T18:38:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "4beb750c-27ca-430d-a479-5a3bedd3d239",
    "owning_organization_url": "/v2/organizations/4beb750c-27ca-430d-a479-5a3bedd3d239",
    "shared_organizations_url": "/v2/private_domains/bf29c3d5-96e4-44b5-983b-3f443f8d7214/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9268bef8-a333-4082-8700-6f497f9ffa94
Content-Length: 526
X-Content-Type-Options: nosniff