Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/1f5a8e5a-f217-435d-ba16-7570d1991cce
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/1f5a8e5a-f217-435d-ba16-7570d1991cce" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM1fQ.X5zJj7qNA8p190p6mt3gFpzNUfHVmIPxgcEHYyeL4gI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "1f5a8e5a-f217-435d-ba16-7570d1991cce",
"url": "/v2/domains/1f5a8e5a-f217-435d-ba16-7570d1991cce",
"created_at": "2016-04-06T00:17:15Z",
"updated_at": null
},
"entity": {
"name": "domain-3.example.com",
"router_group_guid": null,
"router_group_type": null
}
}
Headers