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/9be18417-18ab-4a5d-94c0-fdda0b12f571

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ3NiIsImVtYWlsIjoiZW1haWwtMzQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTV9.mONAvubIC_rC02vS2Dsge7XwURBXlF1YZRm6RiebU0Q
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/9be18417-18ab-4a5d-94c0-fdda0b12f571" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ3NiIsImVtYWlsIjoiZW1haWwtMzQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTV9.mONAvubIC_rC02vS2Dsge7XwURBXlF1YZRm6RiebU0Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9be18417-18ab-4a5d-94c0-fdda0b12f571",
    "url": "/v2/shared_domains/9be18417-18ab-4a5d-94c0-fdda0b12f571",
    "created_at": "2016-03-17T21:41:31Z",
    "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