Home
Version 3
Organizations API

Organizations API

Delete a Particular Organization

DELETE /v2/organizations/:guid

Request

Route

DELETE /v2/organizations/4d04d242-8dff-43e6-89d2-71978a613a1f

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC03MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.3bqXs_nPWqGWfxXsJtYRnqYFlFzsoEfSZOrk0NTghus
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/4d04d242-8dff-43e6-89d2-71978a613a1f" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC03MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.3bqXs_nPWqGWfxXsJtYRnqYFlFzsoEfSZOrk0NTghus" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: cc076b56-90d2-4c3b-8eeb-606db2604c3b
X-Content-Type-Options: nosniff