v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Themes

Activate or deactivate WordPress themes on given site

Endpoint that can be used to either activate or deactivate already installed theme on given site.

patch/v1/sites/{id}/themes

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Request body

themestring
status'activate' | 'deactivate'

Activate or Deactivate a theme

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

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