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/6ca1addc-f5f0-45a1-bbc6-36013cfd7613
cURL
curl "https://api.[your-domain.com]/v2/domains/6ca1addc-f5f0-45a1-bbc6-36013cfd7613" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk2fQ.e8qeq2XqHh9mmuZXQYkwo9_l09bjDY_dUZku8lVEZTU" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "6ca1addc-f5f0-45a1-bbc6-36013cfd7613",
"url": "/v2/domains/6ca1addc-f5f0-45a1-bbc6-36013cfd7613",
"created_at": "2014-11-13T23:38:16+00:00",
"updated_at": null
},
"entity": {
"name": "domain-5.example.com"
}
}