Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/40c4ef33-a35e-433f-b853-3fa2231a7cc3
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/40c4ef33-a35e-433f-b853-3fa2231a7cc3" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNyIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjU5OH0.4ReVUqjApQUPPL8fwn57XxhXdRJUBxDl9dQun0FRQRY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "40c4ef33-a35e-433f-b853-3fa2231a7cc3",
"url": "/v2/domains/40c4ef33-a35e-433f-b853-3fa2231a7cc3",
"created_at": "2015-08-31T21:49:58Z",
"updated_at": null
},
"entity": {
"name": "domain-28.example.com"
}
}
Headers