Retrieve a Particular Shared Domain
GET /v2/shared_domains/:guid
Request
Route
GET /v2/shared_domains/daad3207-a49a-4918-b5c0-fbe625fb9e57
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the domain.
|
|
|
|
name
|
The name of the domain.
|
|
|
- example.com
- foo.example.com
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/shared_domains/daad3207-a49a-4918-b5c0-fbe625fb9e57" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyOSIsImVtYWlsIjoiZW1haWwtMTYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTZ9.jipTqvozRznLOAmONBTYBVfO0SQ-nFf9Ecib5zEzSBQ" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "daad3207-a49a-4918-b5c0-fbe625fb9e57",
"url": "/v2/shared_domains/daad3207-a49a-4918-b5c0-fbe625fb9e57",
"created_at": "2015-03-20T18:27:18Z",
"updated_at": null
},
"entity": {
"name": "customer-app-domain1.com"
}
}
Headers