Automate the plugin updates of a project

Turns on automatic plugin updates for a project. Two triggers can run together: security_updates updates a plugin as soon as a vulnerability is disclosed for it, and schedule_days plus time_window updates it on a recurring window. Omit plugin_keys to cover every plugin the project currently has, which is what a provisioning script wants; send plugin_keys to target a subset. Plugin keys are the ones returned by GET /projects/{projectId}/plugins. This is a full replacement: the automations of the targeted plugins are rewritten from the body, so send the complete configuration every time. Plugins whose updates are excluded in WP Umbrella are skipped and reported under excluded, since an automation on them could never fire. A plugin the project does not have is reported under unknown_plugin_keys instead of failing the call.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID

Body Params
plugin_keys
array of strings

Plugins to automate, every plugin of the project when omitted

plugin_keys
boolean
Defaults to false

Update a plugin as soon as a vulnerability is disclosed for it

schedule_days
array of strings

Days the scheduled update runs on, requires time_window

schedule_days
Allowed:
string
enum

Two-hour window the scheduled update runs in, UTC

string
enum
Defaults to SAFE_UPDATE

How the update is performed, SAFE_UPDATE rolls back on failure

Allowed:
boolean
Defaults to false

Clear the site cache after the update

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json