Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/f84ed6dc-4df2-49ad-bcd8-e7e6245e9073
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/f84ed6dc-4df2-49ad-bcd8-e7e6245e9073" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMiIsImVtYWlsIjoiZW1haWwtMTYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MjZ9.8Ftylx_L26GdLclMy_70LgwfCIlFY_nyUQPbqzhE1VY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f84ed6dc-4df2-49ad-bcd8-e7e6245e9073",
"url": "/v2/private_domains/f84ed6dc-4df2-49ad-bcd8-e7e6245e9073",
"created_at": "2015-11-30T23:38:35Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "ff2e03e9-4f23-44ec-bf57-11dbec3b6a8e",
"owning_organization_url": "/v2/organizations/ff2e03e9-4f23-44ec-bf57-11dbec3b6a8e",
"shared_organizations_url": "/v2/private_domains/f84ed6dc-4df2-49ad-bcd8-e7e6245e9073/shared_organizations"
}
}
Headers