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/746c5830-be88-4079-90a1-a1bf90393441?

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

cURL

curl "https://api.[your-domain.com]/v2/private_domains/746c5830-be88-4079-90a1-a1bf90393441?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk3IiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA3fQ.o0c3IARwXo9ryvz-ppXylCDjPhFV7hnh0vat8SCUEwo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: d0438504-0f77-40cd-b1a9-a5064fec42f2
X-Content-Type-Options: nosniff