Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/cab24f65-5531-43a5-b50d-9c178e69e6b8
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/cab24f65-5531-43a5-b50d-9c178e69e6b8" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NyIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDB9.elsf9O8L-p8v7qKEPEum1lwraJ3jtQThGhwdscHgSUc" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "cab24f65-5531-43a5-b50d-9c178e69e6b8",
"url": "/v2/private_domains/cab24f65-5531-43a5-b50d-9c178e69e6b8",
"created_at": "2016-02-19T02:03:49Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "dbc9862e-6e71-4bb8-a768-8d6597b5bd89",
"owning_organization_url": "/v2/organizations/dbc9862e-6e71-4bb8-a768-8d6597b5bd89",
"shared_organizations_url": "/v2/private_domains/cab24f65-5531-43a5-b50d-9c178e69e6b8/shared_organizations"
}
}
Headers