Resume site

Resume a suspended website on your server.


POST/api/servers/{server}/sites/{id}/resume

Resume site

This endpoint resumes a previously suspended website on your server.

Request

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

Response

{
  "data": {
    "id": 1,
    "status": "active",
    "server_id": 1,
    "domain": "suspend.examplehosting.com",
    "test_domain": null,
    "deploy_script": false,
    "web_directory": "/public",
    "project_type": null,
    "project_root": "/",
    "last_deploy_at": null,
    "system_user": "ploi",
    "php_version": "8.0",
    "health_url": null,
    "has_repository": false,
    "zero_downtime_deployment": false,
    "fastcgi_cache": false,
    "created_at": "2021-01-01 00:00:00"
  }
}