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/f7fd789d-4550-4191-9ba6-3dc1a6f57bbb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzV9.JxmG9U0IeP8o9cf3yOpLzw7-RKMPbGNkp5OYRyrCf0M
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/f7fd789d-4550-4191-9ba6-3dc1a6f57bbb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzV9.JxmG9U0IeP8o9cf3yOpLzw7-RKMPbGNkp5OYRyrCf0M" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f7fd789d-4550-4191-9ba6-3dc1a6f57bbb",
    "url": "/v2/private_domains/f7fd789d-4550-4191-9ba6-3dc1a6f57bbb",
    "created_at": "2015-10-07T00:35:26Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "5ea42db0-9b13-4c8c-8ea9-c11453321a44",
    "owning_organization_url": "/v2/organizations/5ea42db0-9b13-4c8c-8ea9-c11453321a44",
    "shared_organizations_url": "/v2/private_domains/f7fd789d-4550-4191-9ba6-3dc1a6f57bbb/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 369a610c-24fa-4a3a-b0a0-88f864a03d73
Content-Length: 526
X-Content-Type-Options: nosniff