Retrieve a Particular Domain (deprecated)
GET /v2/domains/:guid
Request
Route
GET /v2/domains/75c874d2-447d-4446-b9f3-3929b4f9b7c4
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/75c874d2-447d-4446-b9f3-3929b4f9b7c4" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MyIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTN9.AlsxnFdJLExeYXvGzjbChmqBQFRDFemWcA1zL3A4rQg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "75c874d2-447d-4446-b9f3-3929b4f9b7c4",
"url": "/v2/domains/75c874d2-447d-4446-b9f3-3929b4f9b7c4",
"created_at": "2015-10-13T17:31:53Z",
"updated_at": null
},
"entity": {
"name": "domain-41.example.com",
"router_group_guid": null
}
}
Headers