v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Themes

Update WordPress themes on given site

Endpoint that can be used to update already installed theme to a newer version on given site.

put/v1/sites/{id}/themes

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Request body

themestring required
updateboolean

Whether to update the theme to the latest version

Example request

{
  "update": true
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": []
}