Ploi API

Disable test domain

Disables testing domain

DELETE api/servers/{server}/sites/{id}/test-domain

Example request:

curl -X DELETE "https://ploi.io/api/servers/{server}/sites/{id}/test-domain" \
-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": 1,
        "domain": "wordpress.com",
        "test_domain": "mellow-winds-034wtvtzb8.ploi.link",
        "full_test_domain": "https://mellow-winds-034wtvtzb8.ploi.link"
    }
}