Associate Private Domain with the Organization
PUT /v2/organizations/:guid/private_domains/:private_domain_guid
Request
Route
PUT /v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/private_domains/94af965c-f5df-4585-811a-68afe2f43c14
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/930d5794-07aa-4856-ba09-60c60dbae1d5/private_domains/94af965c-f5df-4585-811a-68afe2f43c14" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg5IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI5fQ.K-cSMAY0_n8RMdeCSnt3KOLtLEvvUX1-y4y1s53Wf_o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "930d5794-07aa-4856-ba09-60c60dbae1d5",
"url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5",
"created_at": "2015-09-11T18:38:49Z",
"updated_at": null
},
"entity": {
"name": "name-250",
"billing_enabled": false,
"quota_definition_guid": "f36c52b1-e23e-47ac-9b93-15817887cae7",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/f36c52b1-e23e-47ac-9b93-15817887cae7",
"spaces_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/spaces",
"domains_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/domains",
"private_domains_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/private_domains",
"users_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/users",
"managers_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/managers",
"billing_managers_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/billing_managers",
"auditors_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/auditors",
"app_events_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/app_events",
"space_quota_definitions_url": "/v2/organizations/930d5794-07aa-4856-ba09-60c60dbae1d5/space_quota_definitions"
}
}
Headers