Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/7e8e9946-d54b-4947-8ba7-a887782d648b
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/7e8e9946-d54b-4947-8ba7-a887782d648b" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.XhAO9MFg8KijyvVoxuXy6_nXwmftGjVUc3AEmRE_85M" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "7e8e9946-d54b-4947-8ba7-a887782d648b",
"url": "/v2/domains/7e8e9946-d54b-4947-8ba7-a887782d648b",
"created_at": "2015-05-15T16:53:24Z",
"updated_at": null
},
"entity": {
"name": "domain-14.example.com"
}
}
Headers