Home
Version 3
Shared Domains API

Shared Domains API

Retrieve a Particular Shared Domain

GET /v2/shared_domains/:guid

Fields

Name Description Default Valid Values Example Values
guid The guid of the domain.
name The name of the domain.
  • example.com
  • foo.example.com

Parameters

Name Description Valid Values Example Values
guid The guid of the Shared Domain

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2MH0.zinrlHCqI9bImF_nl1evERpBS1D-VsY6Zq6Sf3a8pvQ
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/1fe34a07-08b6-4c40-992f-c5be55aec931

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/1fe34a07-08b6-4c40-992f-c5be55aec931" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2MH0.zinrlHCqI9bImF_nl1evERpBS1D-VsY6Zq6Sf3a8pvQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1e2702bf-8d3e-4ce4-8602-dd674b75c11c
Content-Length: 273
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "1fe34a07-08b6-4c40-992f-c5be55aec931",
    "url": "/v2/shared_domains/1fe34a07-08b6-4c40-992f-c5be55aec931",
    "created_at": "2014-12-24T01:39:20+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}