Update site settings

Changes site configuration such as PHP version, WordPress core, theme, and plugin auto-updates, SSH access, and the default user used for admin login links. Only include the settings you want to change.

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

ID of the Site you are interacting with

Body Params

Site's Settings

Partial update of site settings. Only include fields you want to change. For PHP version, send either current_php_version or new_php_version (aliases); current_php_version is preferred because it matches GET /settings and the settings schema.

string
enum
Defaults to 7.4

PHP version to set for the site. Preferred field name (matches GET /settings and the settings schema). Alias of new_php_version.

string
enum
Defaults to 7.4

PHP version to set for the site. Legacy alias of current_php_version (kept for backwards compatibility).

integer
≥ 1

The ID of the default wp-admin SSO user

integer
enum

Control the global WordPress Core Auto-Update override: 0 - No auto-updates, 1 - Update all versions, 2 - Update minor/patch versions only, 3 - No global override (WordPress default behavior applies)

Allowed:
integer
enum
Allowed:
integer
enum
Allowed:
integer
enum
Allowed:
Responses

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