Retrieve a Particular Shared Domain
GET /v2/shared_domains/:guid
Request
Route
GET /v2/shared_domains/f01b174d-c750-46b0-9ddf-3aeb2064d796
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the domain.
|
|
|
|
router_group_guid
|
The guid of the router group.
|
|
|
|
name
|
The name of the domain.
|
|
|
- example.com
- foo.example.com
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/shared_domains/f01b174d-c750-46b0-9ddf-3aeb2064d796" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0OTUzMTUxNX0.tMpE_glo7Rek4Vti-2rgmLw_VrzygMLolEfiTsENrgg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f01b174d-c750-46b0-9ddf-3aeb2064d796",
"url": "/v2/shared_domains/f01b174d-c750-46b0-9ddf-3aeb2064d796",
"created_at": "2015-11-30T23:38:35Z",
"updated_at": null
},
"entity": {
"name": "customer-app-domain1.com",
"router_group_guid": null
}
}
Headers