Home
Version 3
Organizations API

Organizations API

Remove Private Domain from the Organization

DELETE /v2/organizations/:guid/private_domains/:private_domain_guid

Request

Route

DELETE /v2/organizations/82c978ee-1307-444f-ac53-6ff5c97eb317/private_domains/d7dac807-728c-45da-8145-167c3e8560be

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization
private_domain_guid The guid of the private domain

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NyIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDB9.yMXYeamnhuwUiNSqDU47uKy8VICQ4IoANWvHpkDR_CI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/82c978ee-1307-444f-ac53-6ff5c97eb317/private_domains/d7dac807-728c-45da-8145-167c3e8560be" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NyIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDB9.yMXYeamnhuwUiNSqDU47uKy8VICQ4IoANWvHpkDR_CI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 
X-Content-Type-Options: nosniff