Ploi API
Ploi API

Uninstall WordPress

Uninstall WordPress system on this domain

DELETE api/servers/{server}/sites/{id}/wordpress

Example request:

curl -X DELETE "https://ploi.io/api/servers/{server}/sites/{id}/wordpress" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 90,
        "domain": "domain.com",
        "web_directory": "/public",
        "wordpress": false,
        "laravel": false,
        "project_root": "/",
        "last_deploy_at": "2018-09-14 20:43:11",
        "created_at": "2018-09-14 11:40:01"
    }
}