- URL:
- https://<root>/deletesite
- Methods:
POST- Version Introduced:
- 12.0
Description
The delete operation deletes the site configuration and releases all server resources.
This is an unrecoverable operation. Use caution with this option because it deletes all services, settings, and other configurations.
This operation performs the following tasks:
- Stops all server machines participating in the site. This in turn stops all services hosted on the server machines.
- All services are deleted.
- All server machines are unregistered from the site.
- The configuration store is deleted.
Request parameters
| Parameter | Description |
|---|---|
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the delete operation:
POST /<context>/admin/deleteSite HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjson