Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/603a6517-448e-4a61-9f1d-3389dd3173d0
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/603a6517-448e-4a61-9f1d-3389dd3173d0" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjF9.h7M96CWaYQAkC7XiB7LpOjjChtIFhEe2e7fJH_MuJdE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "603a6517-448e-4a61-9f1d-3389dd3173d0",
"url": "/v2/private_domains/603a6517-448e-4a61-9f1d-3389dd3173d0",
"created_at": "2015-03-10T23:11:59Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "27279ccf-890a-4c15-a933-6cba3f992b21",
"owning_organization_url": "/v2/organizations/27279ccf-890a-4c15-a933-6cba3f992b21",
"shared_organizations_url": "/v2/private_domains/603a6517-448e-4a61-9f1d-3389dd3173d0/shared_organizations"
}
}
Headers