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/da043f66-9e31-4c3f-9627-d15654a7e961

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5OSIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjJ9.X6EPkXDs-2gVT03cMQxEu0F2Ci66dgYi5yfLQk02Sq4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/da043f66-9e31-4c3f-9627-d15654a7e961" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5OSIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjJ9.X6EPkXDs-2gVT03cMQxEu0F2Ci66dgYi5yfLQk02Sq4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "da043f66-9e31-4c3f-9627-d15654a7e961",
    "url": "/v2/private_domains/da043f66-9e31-4c3f-9627-d15654a7e961",
    "created_at": "2015-06-04T00:05:16Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "ce264da0-224b-4d56-aaed-2558f83f889b",
    "owning_organization_url": "/v2/organizations/ce264da0-224b-4d56-aaed-2558f83f889b",
    "shared_organizations_url": "/v2/private_domains/da043f66-9e31-4c3f-9627-d15654a7e961/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8a10b560-e288-41ba-aa97-f5af78c6426f
Content-Length: 526
X-Content-Type-Options: nosniff