Associate Private Domain with the Organization
PUT /v2/organizations/:guid/private_domains/:private_domain_guid
Request
Route
PUT /v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/private_domains/0fa008e5-1996-4338-b275-e9a5a91efde5
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
private_domain_guid
|
The guid of the private domain
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/private_domains/0fa008e5-1996-4338-b275-e9a5a91efde5" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NiIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDJ9.UPUJomC7pRC7J1Dd2jX6DHWQN7OZGvoyB-gwWxGXN90" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "3284155d-700d-4ecc-93b1-3055ca9b4a5c",
"url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c",
"created_at": "2015-09-30T23:30:42Z",
"updated_at": null
},
"entity": {
"name": "name-1306",
"billing_enabled": false,
"quota_definition_guid": "5bf48c3e-668a-4c50-ac0e-0977c79509b8",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/5bf48c3e-668a-4c50-ac0e-0977c79509b8",
"spaces_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/spaces",
"domains_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/domains",
"private_domains_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/private_domains",
"users_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/users",
"managers_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/managers",
"billing_managers_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/billing_managers",
"auditors_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/auditors",
"app_events_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/app_events",
"space_quota_definitions_url": "/v2/organizations/3284155d-700d-4ecc-93b1-3055ca9b4a5c/space_quota_definitions"
}
}
Headers