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/b93c551b-c4e6-4bca-9a5f-a10b870eac2e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzB9.LmGDITawn1R8tSgv13GuO-zMickwopHlGYAOAy5DFD0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/b93c551b-c4e6-4bca-9a5f-a10b870eac2e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzB9.LmGDITawn1R8tSgv13GuO-zMickwopHlGYAOAy5DFD0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b93c551b-c4e6-4bca-9a5f-a10b870eac2e",
    "url": "/v2/private_domains/b93c551b-c4e6-4bca-9a5f-a10b870eac2e",
    "created_at": "2015-03-18T22:52:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "fd775cd9-0e65-4a59-953f-fa5c7bba7f9e",
    "owning_organization_url": "/v2/organizations/fd775cd9-0e65-4a59-953f-fa5c7bba7f9e",
    "shared_organizations_url": "/v2/private_domains/b93c551b-c4e6-4bca-9a5f-a10b870eac2e/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 04f72568-163c-4df7-be59-2888715ce60d
Content-Length: 526
X-Content-Type-Options: nosniff