Associate Private Domain with the Organization
PUT /v2/organizations/:guid/private_domains/:private_domain_guid
Request
Route
PUT /v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/private_domains/1d1593dd-df18-4131-a2e5-068784f12585
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/1af0f9b9-c287-43cf-82a3-a836d5fa5027/private_domains/1d1593dd-df18-4131-a2e5-068784f12585" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NSIsImVtYWlsIjoiZW1haWwtMzI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzN9.rNKYmLtOYaPUqI7veqMWyqjVM9Ag3SyJU9cdtnoBC0E" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "1af0f9b9-c287-43cf-82a3-a836d5fa5027",
"url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027",
"created_at": "2015-10-15T23:52:53Z",
"updated_at": null
},
"entity": {
"name": "name-2468",
"billing_enabled": false,
"quota_definition_guid": "67f1d233-e270-4869-957a-df2d3618180e",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/67f1d233-e270-4869-957a-df2d3618180e",
"spaces_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/spaces",
"domains_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/domains",
"private_domains_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/private_domains",
"users_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/users",
"managers_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/managers",
"billing_managers_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/billing_managers",
"auditors_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/auditors",
"app_events_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/app_events",
"space_quota_definitions_url": "/v2/organizations/1af0f9b9-c287-43cf-82a3-a836d5fa5027/space_quota_definitions"
}
}
Headers