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/0683bb79-fd4e-44d2-9047-0d194782a784

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODV9.hPk0W13NPOIVRnfc2C4SfkXrymhDYLZNjQRPnAqm7CE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/0683bb79-fd4e-44d2-9047-0d194782a784" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODV9.hPk0W13NPOIVRnfc2C4SfkXrymhDYLZNjQRPnAqm7CE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0683bb79-fd4e-44d2-9047-0d194782a784",
    "url": "/v2/private_domains/0683bb79-fd4e-44d2-9047-0d194782a784",
    "created_at": "2015-12-22T18:27:59Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "78fd416f-d322-4611-9e34-1276cb4fd70b",
    "owning_organization_url": "/v2/organizations/78fd416f-d322-4611-9e34-1276cb4fd70b",
    "shared_organizations_url": "/v2/private_domains/0683bb79-fd4e-44d2-9047-0d194782a784/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 526
X-Content-Type-Options: nosniff