Home
Version 3
Organizations API

Organizations API

Delete a Particular Organization

DELETE /v2/organizations/:guid

Request

Route

DELETE /v2/organizations/35380fc9-1807-4bc8-90f4-6c5cb631a064

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'.

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NyIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.RhrkMrzlnWXIDK6_iWlFtKhw8DQtNtseFZ-90lwMF8c
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/35380fc9-1807-4bc8-90f4-6c5cb631a064" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NyIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.RhrkMrzlnWXIDK6_iWlFtKhw8DQtNtseFZ-90lwMF8c" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 951d1078-79a8-49d3-807d-2588f5317199
X-Content-Type-Options: nosniff