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/14f4071d-7306-4b12-a3e4-f9018f835cb7

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYiLCJlbWFpbCI6ImVtYWlsLTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyMH0.YeyeVs-HZeJeaMp8DfKFAS_8F4vnBhypQrhHeFnYGSo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/14f4071d-7306-4b12-a3e4-f9018f835cb7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYiLCJlbWFpbCI6ImVtYWlsLTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyMH0.YeyeVs-HZeJeaMp8DfKFAS_8F4vnBhypQrhHeFnYGSo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "14f4071d-7306-4b12-a3e4-f9018f835cb7",
    "url": "/v2/shared_domains/14f4071d-7306-4b12-a3e4-f9018f835cb7",
    "created_at": "2016-03-14T22:30:19Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com",
    "router_group_guid": null
  }
}

Headers

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