Developer Features: API: Site Operations: Delete Site
Overview
You can delete a site using the API.
Supported Versions
Pleasanter 1.3.4.0 and later
Preparation
Please Create an API Key before performing API operations. Also, this function can only be performed by the tenant administrator, so please set up the tenant administrator from user management.
Request
Send json data in the following request format:
Setting item | Value |
---|---|
HTTP Method | POST |
Content-Type | application/json |
Character Code | UTF-8 |
URL | http://{server name}/api/items/{site ID}/deletesite (*1) |
Body | See the json data below for reference |
(*1) Please edit the {server name} and {site ID} parts to suit your environment as appropriate. For pleasanter.net, the format is as follows: https://pleasanter.net/fs/api/items/{site ID}/deletesite For {site ID}, specify the site ID to be deleted.
JSON
{
"ApiVersion": "1.1",
"ApiKey": "345yuAjA6789dA09d8uj6..."
}