v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Themes

Install new WordPress themes to site

Endpoint that can be used to install one or more WordPress themes for given site.

post/v1/sites/{id}/themes

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Request body

themesstring
activateboolean
custom_urlstring

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": [
    {
      "note": "Errors installing plugin"
    }
  ]
}