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/7a38d31b-a85a-4e6a-9de2-472d017cf1a9/private_domains/b54ed149-36c7-4d1a-9750-26e01eae6579

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.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzd9.SzB_9Wl1OeILEO4sSmSVSa5RGWUeb0ev7CRiE0cSc0s
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/7a38d31b-a85a-4e6a-9de2-472d017cf1a9/private_domains/b54ed149-36c7-4d1a-9750-26e01eae6579" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzd9.SzB_9Wl1OeILEO4sSmSVSa5RGWUeb0ev7CRiE0cSc0s" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: c86e6b4c-3b07-4d6b-ac27-d9f679a7e9a7
X-Content-Type-Options: nosniff