Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/b2a35f0c-d5ad-4a59-bea7-461711d96b0d
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/b2a35f0c-d5ad-4a59-bea7-461711d96b0d" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTl9.E_Lmp83WwZT427fBnVKbhVCLY4FuFcPfwxaN4a56bPk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "b2a35f0c-d5ad-4a59-bea7-461711d96b0d",
"url": "/v2/private_domains/b2a35f0c-d5ad-4a59-bea7-461711d96b0d",
"created_at": "2016-06-08T16:41:39Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "4cf3bc47-eccd-4662-9322-7833c3bdcded",
"owning_organization_url": "/v2/organizations/4cf3bc47-eccd-4662-9322-7833c3bdcded",
"shared_organizations_url": "/v2/private_domains/b2a35f0c-d5ad-4a59-bea7-461711d96b0d/shared_organizations"
}
}
Headers