WordPress
Update WordPress settings
PATCH
Permission: wp.settings
apiTokenheader
AuthorizationBearer <token>An API token (mwp_…) from Settings → API tokens. Only accepted on this host.
site_id*Site IdFormat
uuidapplication/json- body
settings*Subset of: blogname, blogdescription, admin_email, siteurl, home, timezone_string, date_format, time_format, start_of_week, WPLANG, users_can_register, default_role, default_comment_status, default_ping_status, posts_per_page, permalink_structure, blog_public
Successful Response
application/json- response
success*booleandata*The site's WordPress options. Values are strings as WordPress stores
them; an option that was never set reads false.
message*stringstatus_code*integertimestamp*stringFormat
date-timemeta?|nullcurl -X PATCH "https://example.com/v1/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/wp/settings" \ -H "Content-Type: application/json" \ -d '{ "settings": { "property1": "string", "property2": "string" } }'{ "message": "string", "status_code": 0, "timestamp": "2019-08-24T14:15:22Z", "meta": {}, "success": true, "data": { "blogname": null, "blogdescription": null, "admin_email": null, "siteurl": null, "home": null, "timezone_string": null, "date_format": null, "time_format": null, "start_of_week": null, "WPLANG": null, "users_can_register": null, "default_role": null, "default_comment_status": null, "default_ping_status": null, "posts_per_page": null, "permalink_structure": null, "blog_public": null }}