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/10a26b62-51cf-43ff-bd18-0a74c021d04b

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjJ9.yDUjFkKdPcJfwZ_pw2poSaJNO9jgKGRfiwXao-oZjSc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/10a26b62-51cf-43ff-bd18-0a74c021d04b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjJ9.yDUjFkKdPcJfwZ_pw2poSaJNO9jgKGRfiwXao-oZjSc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "10a26b62-51cf-43ff-bd18-0a74c021d04b",
    "url": "/v2/private_domains/10a26b62-51cf-43ff-bd18-0a74c021d04b",
    "created_at": "2015-10-15T23:52:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "5e8d96fc-25f6-42a0-9adf-5f56808619ff",
    "owning_organization_url": "/v2/organizations/5e8d96fc-25f6-42a0-9adf-5f56808619ff",
    "shared_organizations_url": "/v2/private_domains/10a26b62-51cf-43ff-bd18-0a74c021d04b/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a0710477-679f-402e-9ea8-67f3531db62c
Content-Length: 526
X-Content-Type-Options: nosniff