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/e205ca45-e6ab-4818-acb8-1ad269d54766

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OSIsImVtYWlsIjoiZW1haWwtMTExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzB9.-xNkIgvuSctP-hWCAYR-IrtB48WxORJIqEle4kGiuUI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/e205ca45-e6ab-4818-acb8-1ad269d54766" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OSIsImVtYWlsIjoiZW1haWwtMTExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzB9.-xNkIgvuSctP-hWCAYR-IrtB48WxORJIqEle4kGiuUI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e205ca45-e6ab-4818-acb8-1ad269d54766",
    "url": "/v2/private_domains/e205ca45-e6ab-4818-acb8-1ad269d54766",
    "created_at": "2016-04-16T01:23:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "987056a4-f070-41d6-8968-348b427f4fe5",
    "owning_organization_url": "/v2/organizations/987056a4-f070-41d6-8968-348b427f4fe5",
    "shared_organizations_url": "/v2/private_domains/e205ca45-e6ab-4818-acb8-1ad269d54766/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6b6dd61c-e948-43ba-b6e0-7dd7c38c69c1
Content-Length: 526
X-Content-Type-Options: nosniff