v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Plugins

Delete WordPress plugins from given site

Endpoint that can be to remove installed plugin from given site.

delete/v1/sites/{id}/plugins

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Request body

pluginsstring

Comma separated list of plugins to delete. Cannot be 'must-use' plugins

Example request

{
  "plugins": "akismet,hello"
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": [
    {
      "name": "akismet",
      "note": "deleted"
    }
  ]
}