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/46fb94be-e622-41d7-96cc-4f9d13f45c22

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTN9.0zv8rsoS2cxJCwn-FpOLZtyRPGy5YBneOAh9Hafl5kU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/46fb94be-e622-41d7-96cc-4f9d13f45c22" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTN9.0zv8rsoS2cxJCwn-FpOLZtyRPGy5YBneOAh9Hafl5kU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "46fb94be-e622-41d7-96cc-4f9d13f45c22",
    "url": "/v2/private_domains/46fb94be-e622-41d7-96cc-4f9d13f45c22",
    "created_at": "2015-10-13T17:31:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "8d7bb68f-7131-4bde-9f2c-329c414b8969",
    "owning_organization_url": "/v2/organizations/8d7bb68f-7131-4bde-9f2c-329c414b8969",
    "shared_organizations_url": "/v2/private_domains/46fb94be-e622-41d7-96cc-4f9d13f45c22/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 23d3bd33-3c92-484b-80b9-c5dbf0cda311
Content-Length: 526
X-Content-Type-Options: nosniff