Retrieve a Particular Private Domain
GET /v2/private_domains/:guid
Request
Route
GET /v2/private_domains/0e160e60-dd8e-41bb-8d6b-d9a20c2bef0a
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/private_domains/0e160e60-dd8e-41bb-8d6b-d9a20c2bef0a" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNSIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDF9.897dzqssMwxhkiHn3XlWqq0gGCQdZy8rO98bPql_OjM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "0e160e60-dd8e-41bb-8d6b-d9a20c2bef0a",
"url": "/v2/private_domains/0e160e60-dd8e-41bb-8d6b-d9a20c2bef0a",
"created_at": "2015-04-15T00:55:31Z",
"updated_at": null
},
"entity": {
"name": "vcap.me",
"owning_organization_guid": "c94aa39f-1ce3-4a0f-b6f6-1c49e35cc9c7",
"owning_organization_url": "/v2/organizations/c94aa39f-1ce3-4a0f-b6f6-1c49e35cc9c7",
"shared_organizations_url": "/v2/private_domains/0e160e60-dd8e-41bb-8d6b-d9a20c2bef0a/shared_organizations"
}
}
Headers