Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Fields
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.
|
|
|
|
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Domain
|
|
|
Request
Headers
Route
GET /v2/domains/1d3d6786-b7c6-4961-921f-0b2b6c8df3d7
cURL
curl "https://api.[your-domain.com]/v2/domains/1d3d6786-b7c6-4961-921f-0b2b6c8df3d7" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzV9.bckqty-RC9PXUvuWAfE8_h8VByIeyG70rccppuAgDd0" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "1d3d6786-b7c6-4961-921f-0b2b6c8df3d7",
"url": "/v2/domains/1d3d6786-b7c6-4961-921f-0b2b6c8df3d7",
"created_at": "2015-02-10T01:42:55Z",
"updated_at": null
},
"entity": {
"name": "domain-49.example.com"
}
}