Change WordPress version
Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
website_uidstringRequiredExample:
Agency Plan website UID
zpwlGlp19Body
versionstringRequiredExample:
Target WordPress core version to install. Must be one of the available versions.
6.5.5Responses
200
Success empty response
application/json
messagestringOptionalExample:
Request accepted401
Unauthenticated response
application/json
422
Validation error response
application/json
500
Error response
application/json
patch/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version
PATCH /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"version": "6.5.5"
}{
"message": "Request accepted"
}Last updated
Was this helpful?