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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzYzfQ.ZQr_CBNQ747bp282ArzAN9uUEthp9Y3DualB7OHJEPQ
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/e99d6753-3eb1-4e8b-b16a-d4f1acad4850

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/e99d6753-3eb1-4e8b-b16a-d4f1acad4850" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzYzfQ.ZQr_CBNQ747bp282ArzAN9uUEthp9Y3DualB7OHJEPQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ded6e50f-e579-46ee-9e19-974f3bab06fe
Content-Length: 268
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "e99d6753-3eb1-4e8b-b16a-d4f1acad4850",
    "url": "/v2/shared_domains/e99d6753-3eb1-4e8b-b16a-d4f1acad4850",
    "created_at": "2015-02-10T01:42:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}