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.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDd9.P25-tIsH4TBhyhVttA-uhpwwoRrpEoaZsxdr4jnSxOo
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/22c877fe-017b-4379-b32e-425c5a7ceece

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/22c877fe-017b-4379-b32e-425c5a7ceece" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDd9.P25-tIsH4TBhyhVttA-uhpwwoRrpEoaZsxdr4jnSxOo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6159d348-d141-4b7f-9505-a538a4ffa3dd
Content-Length: 268
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "22c877fe-017b-4379-b32e-425c5a7ceece",
    "url": "/v2/shared_domains/22c877fe-017b-4379-b32e-425c5a7ceece",
    "created_at": "2015-02-13T22:34:58Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}