Check if WordPress installations are valid
Check whether one or more WordPress installations are valid and working correctly.
Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues.
Provide the WordPress installation (software) identifiers in the body. They
can be obtained from GET /api/hosting/v1/wordpress/installations (the id
field).
API Token authentication
u123456789WordPress installation (software) identifiers to validate.
["123","456"]Force fresh validation without cache. Preferable for troubleshooting purposes.
falseExample: falseSuccess response
WordPress installation (software) identifier
123Whether the WordPress installation is valid and working correctly
trueUnauthenticated response
Validation error response
Error response
POST /api/hosting/v1/accounts/{username}/wordpress/installations/check-is-valid HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"software_ids": [
"123",
"456"
],
"force": false
}[
{
"software_id": "123",
"is_valid": true
}
]Last updated
Was this helpful?