Queue a smart update of many sites (snapshot, update, check, roll back on failure)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/wordpress/updates may answer 202Queue a smart update of many sites (snapshot, update, check, roll back on failure)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
- no other properties
site_idsarray<string> required- max items 200
corestring requiredAllowed values:"off""minor""all"pluginsboolean optionalthemesboolean optionalstaging_firstboolean optional
Example
{
"site_ids": [
"string"
],
"core": "off",
"plugins": true,
"themes": true,
"staging_first": true
}Responses
202 Queued
Content type: application/json
object
itemsarray<object> requirednext_cursorstring required
Example
{
"items": [
{}
],
"next_cursor": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required