Delete a Particular Organization
DELETE /v2/organizations/:guid?
Request
Route
DELETE /v2/organizations/aa6d2fd5-75bd-4eef-aaed-ef3425ab5c99?
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/aa6d2fd5-75bd-4eef-aaed-ef3425ab5c99?" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MiIsImVtYWlsIjoiZW1haWwtOTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.0w3tV7YeNToX4GRLD1xATCW0GMKU3G0pMy7W2krUqLM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers