Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/31bb7515-7b6d-4c69-87b2-45d9f7e05fd2
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
|
wildcard
|
Allow routes with non-empty hosts
|
|
|
|
owning_organization_guid
|
The organization that owns the domain. If not specified, the domain is shared.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/domains/31bb7515-7b6d-4c69-87b2-45d9f7e05fd2" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMCIsImVtYWlsIjoiZW1haWwtMTYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDd9._NZxiefw9W1GoVLr8_Ew3rI0iqg18l1I5JgbmyiuriI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "31bb7515-7b6d-4c69-87b2-45d9f7e05fd2",
"url": "/v2/domains/31bb7515-7b6d-4c69-87b2-45d9f7e05fd2",
"created_at": "2015-04-07T19:11:47Z",
"updated_at": null
},
"entity": {
"name": "domain-36.example.com"
}
}
Headers