Associate Private Domain with the Organization
PUT /v2/organizations/:guid/private_domains/:private_domain_guid
Request
Route
PUT /v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/private_domains/41c52eb8-b00f-495a-afe9-fdcaa3483069
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/private_domains/41c52eb8-b00f-495a-afe9-fdcaa3483069" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMyIsImVtYWlsIjoiZW1haWwtOTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzkwMX0.GPP4IVrTG9dtC9TMPUHhYhPBOGJp8pPeJOyziou7hAI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "7eca6633-04b1-4178-9feb-06aeb26f9d8e",
"url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e",
"created_at": "2015-03-10T23:11:41Z",
"updated_at": null
},
"entity": {
"name": "name-364",
"billing_enabled": false,
"quota_definition_guid": "0b27c1c2-0469-4326-a6ae-91ba34ff0ee7",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/0b27c1c2-0469-4326-a6ae-91ba34ff0ee7",
"spaces_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/spaces",
"domains_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/domains",
"private_domains_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/private_domains",
"users_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/users",
"managers_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/managers",
"billing_managers_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/billing_managers",
"auditors_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/auditors",
"app_events_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/app_events",
"space_quota_definitions_url": "/v2/organizations/7eca6633-04b1-4178-9feb-06aeb26f9d8e/space_quota_definitions"
}
}
Headers