Home
Version 3
Organizations API

Organizations API

Delete a Particular Organization

DELETE /v2/organizations/:guid

Fields

Name Description Default Valid Values Example Values

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

Request

Headers

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

Route

DELETE /v2/organizations/332b77ac-c7aa-4b5e-b1d9-1512c902428e

cURL

curl "https://api.[your-domain.com]/v2/organizations/332b77ac-c7aa-4b5e-b1d9-1512c902428e" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.NzKhEGePlyKDu2os_FFmpI4GlF1M87qIhs3HvI2_utM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 8f1281a4-5f7e-4d77-82d3-95aa308ea48e
X-Content-Type-Options: nosniff

Status

204 No Content