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.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtODJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDEyNX0.khSwAqxfxNUs4tZVTP52KFStyD2wl2-RYK1hTJinfQQ
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/054589ff-c26a-4c8a-aebd-7052f6bc6537

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/054589ff-c26a-4c8a-aebd-7052f6bc6537" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtODJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDEyNX0.khSwAqxfxNUs4tZVTP52KFStyD2wl2-RYK1hTJinfQQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0294f64a-0d94-47ce-831f-1606e139859e
Content-Length: 268
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "054589ff-c26a-4c8a-aebd-7052f6bc6537",
    "url": "/v2/shared_domains/054589ff-c26a-4c8a-aebd-7052f6bc6537",
    "created_at": "2015-02-12T01:41:57Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}