Home
Version 3
Private Domains API

Private Domains API

Delete a Particular Private Domain

DELETE /v2/private_domains/:guid

Request

Route

DELETE /v2/private_domains/bf29c3d5-96e4-44b5-983b-3f443f8d7214

Parameters

Name Description Valid Values Example Values
guid The guid of the Private Domain
async Will run the delete request in a background job. Recommended: 'true'.
  • true
  • false

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/private_domains/bf29c3d5-96e4-44b5-983b-3f443f8d7214" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI4fQ.zERaDaPp29wznGphpOoxG4B8qhHHVRIFFKI3PnhA8x8" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: ee819d10-18d0-4630-bb69-922f22887855
X-Content-Type-Options: nosniff