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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMjAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTB9.1KMfW7-hyln5UyyQJfsKkpjjiTMTKKDGebkrSoXP4yM
Host: example.org
Cookie: 

Route

GET /v2/shared_domains/626ae416-700c-4a54-81a8-961c8d86df24

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/626ae416-700c-4a54-81a8-961c8d86df24" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMjAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTB9.1KMfW7-hyln5UyyQJfsKkpjjiTMTKKDGebkrSoXP4yM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6257abd6-573e-40d4-a5cb-8b7b14bdf23b
Content-Length: 273
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "626ae416-700c-4a54-81a8-961c8d86df24",
    "url": "/v2/shared_domains/626ae416-700c-4a54-81a8-961c8d86df24",
    "created_at": "2015-01-20T01:52:15+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com"
  }
}