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/11052be1-4bf1-4413-9936-b7da482ed780

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0NX0.Pk0IM2O2SIY1Y0bB91oVOypIFlFMf4H2larT194hDM8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/11052be1-4bf1-4413-9936-b7da482ed780" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0NX0.Pk0IM2O2SIY1Y0bB91oVOypIFlFMf4H2larT194hDM8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "11052be1-4bf1-4413-9936-b7da482ed780",
    "url": "/v2/private_domains/11052be1-4bf1-4413-9936-b7da482ed780",
    "created_at": "2015-03-20T18:27:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "ef9fd3f7-9ada-45e0-b85a-f351d1864235",
    "owning_organization_url": "/v2/organizations/ef9fd3f7-9ada-45e0-b85a-f351d1864235",
    "shared_organizations_url": "/v2/private_domains/11052be1-4bf1-4413-9936-b7da482ed780/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bbda7218-73d4-4dda-8317-0e29421bce22
Content-Length: 526
X-Content-Type-Options: nosniff