Read error log

Display the latest lines from the error log for troubleshooting PHP and server errors. This is useful for diagnosing 500 errors, fatal PHP errors, and other website issues.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Responses

200 Successful response
content string
lines string
count string
cpanelUsername string
GET https://cloud.hostup.se/api/hosting/{accountId}/error-log
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting/17649/error-log" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "content": "string",
  "lines": "string",
  "count": "string",
  "cpanelUsername": "string"
}