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.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjk5MDg3MX0.k8v5qBZfnkbM0EUdc3oeYKqJwdayervovjmBBilOWSI
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/ccf9fe3a-f953-4c4e-977b-98a5282311e5

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/ccf9fe3a-f953-4c4e-977b-98a5282311e5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjk5MDg3MX0.k8v5qBZfnkbM0EUdc3oeYKqJwdayervovjmBBilOWSI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 63df544a-d369-4499-91a4-19bed0fa1221
Content-Length: 268
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "ccf9fe3a-f953-4c4e-977b-98a5282311e5",
    "url": "/v2/shared_domains/ccf9fe3a-f953-4c4e-977b-98a5282311e5",
    "created_at": "2015-01-27T19:14:28Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}