Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/746c5830-be88-4079-90a1-a1bf90393441
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/746c5830-be88-4079-90a1-a1bf90393441" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk5IiwiZW1haWwiOiJlbWFpbC02OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA3fQ.mDi2Bu57B-mGl0kjZ2OJYDgxOre-VPYwTcbkhgkUnyg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "746c5830-be88-4079-90a1-a1bf90393441",
"url": "/v2/private_domains/746c5830-be88-4079-90a1-a1bf90393441",
"created_at": "2016-05-12T00:45:03Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "328b4999-3835-478e-b9d0-0d643dc88ec4",
"owning_organization_url": "/v2/organizations/328b4999-3835-478e-b9d0-0d643dc88ec4",
"shared_organizations_url": "/v2/private_domains/746c5830-be88-4079-90a1-a1bf90393441/shared_organizations"
}
}
Headers