Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/7607a395-068e-4a72-84d8-792e034ce067
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/7607a395-068e-4a72-84d8-792e034ce067" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0yOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ2fQ.89UB4OO0AeBPL0-kevCaMVjkpOLr6rRKlVyEzlpjopQ" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "7607a395-068e-4a72-84d8-792e034ce067",
"url": "/v2/domains/7607a395-068e-4a72-84d8-792e034ce067",
"created_at": "2015-06-16T23:40:46Z",
"updated_at": null
},
"entity": {
"name": "domain-27.example.com"
}
}
Headers