v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Plugins

Update WordPress plugins on given site

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

put/v1/sites/{id}/plugins

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Request body

pluginstring required

Plugin name/slug

Example request

{
  "plugin": "akismet"
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": [
    {
      "name": "akismet",
      "old_version": "5.3.2",
      "new_version": "5.3.3"
    }
  ]
}