Delete a Particular Organization
DELETE /v2/organizations/:guid?
Request
Route
DELETE /v2/organizations/8ef1e04c-58a2-43f8-bf25-e06f0e402a64?
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
recursive
|
Will delete all spaces, apps, services, routes, and private domains associated with the org
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/8ef1e04c-58a2-43f8-bf25-e06f0e402a64?" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.mKkHZWNxoX7ELJGYFaW3aIWSlcqH2La48Z6DnQb-FU8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers