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/dbc0091f-ccac-4d38-bd5d-493bb5f28507

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NCIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTB9.kHYWfSRPKRjUl9YRfHJ3TMpge-b8EnkHDRRqnl0QIEk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/dbc0091f-ccac-4d38-bd5d-493bb5f28507" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NCIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTB9.kHYWfSRPKRjUl9YRfHJ3TMpge-b8EnkHDRRqnl0QIEk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "dbc0091f-ccac-4d38-bd5d-493bb5f28507",
    "url": "/v2/private_domains/dbc0091f-ccac-4d38-bd5d-493bb5f28507",
    "created_at": "2015-09-30T23:30:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "ccb6fa53-8cc9-4600-a78f-3e65746c8dcc",
    "owning_organization_url": "/v2/organizations/ccb6fa53-8cc9-4600-a78f-3e65746c8dcc",
    "shared_organizations_url": "/v2/private_domains/dbc0091f-ccac-4d38-bd5d-493bb5f28507/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b15af0e8-207b-4a5c-b53f-6eb55903b09d
Content-Length: 526
X-Content-Type-Options: nosniff