API referenceSections

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 202

Queue a smart update of many sites (snapshot, update, check, roll back on failure)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

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_ids array<string> required
    • max items 200
  • core string required
    Allowed values: "off" "minor" "all"
  • plugins boolean optional
  • themes boolean optional
  • staging_first boolean optional
Example
{
  "site_ids": [
    "string"
  ],
  "core": "off",
  "plugins": true,
  "themes": true,
  "staging_first": true
}

Responses

202 Queued

Content type: application/json

object
  • items array<object> required
  • next_cursor string required
Example
{
  "items": [
    {}
  ],
  "next_cursor": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required