Retrieve a Particular Private Domain
GET /v2/private_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
|
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 Private Domain
|
|
|
Request
Headers
Route
GET /v2/private_domains/62ba2eca-a653-4c6f-b513-6ed03f3cca31
cURL
curl "https://api.[your-domain.com]/v2/private_domains/62ba2eca-a653-4c6f-b513-6ed03f3cca31" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzN9.4N-gFFivybr41YmrOrIkRUsp7-7sQwzQZ6WFBt4g2Yk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "62ba2eca-a653-4c6f-b513-6ed03f3cca31",
"url": "/v2/private_domains/62ba2eca-a653-4c6f-b513-6ed03f3cca31",
"created_at": "2015-02-10T01:42:41Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "5898818d-1720-436f-af1c-5ccda838a249",
"owning_organization_url": "/v2/organizations/5898818d-1720-436f-af1c-5ccda838a249"
}
}