Home
Version 3
Shared Domains API

Shared Domains API

Retrieve a Particular Shared Domain

GET /v2/shared_domains/:guid

Request

Route

GET /v2/shared_domains/a42283b0-7b63-49c9-9ea5-2a7e96ce0c60

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MDUwNjY0M30.wcHTYUjyZCCJArObSpGx3nIk7mJPXkshLluHv6l_HFo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/a42283b0-7b63-49c9-9ea5-2a7e96ce0c60" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MDUwNjY0M30.wcHTYUjyZCCJArObSpGx3nIk7mJPXkshLluHv6l_HFo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a42283b0-7b63-49c9-9ea5-2a7e96ce0c60",
    "url": "/v2/shared_domains/a42283b0-7b63-49c9-9ea5-2a7e96ce0c60",
    "created_at": "2016-04-06T00:17:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com",
    "router_group_guid": null,
    "router_group_type": null
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 330
X-Content-Type-Options: nosniff