Change WordPress settings
Change the automatic updates and some WordPress options; send only what changes.Scope: hosting-wordpress:write.
Request
Add parameter in header API-key
Example:API-key: ********************
or
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/jsonRequired
{
"auto_update_core": true,
"auto_update_plugins": true,
"auto_update_themes": true,
"debug": true,
"search_engine_visible": true,
"wp_cron": true
}
Request Code Samples
curl --location --request PUT 'https://mijn.host/api/v2/hosting/12345/wordpress/26_12345/settings' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"auto_update_core": true,
"auto_update_plugins": true,
"auto_update_themes": true,
"debug": true,
"search_engine_visible": true,
"wp_cron": true
}'
Responses
application/json
{
"status": 200,
"status_description": "string",
"data": {
"settings": {}
}
}
Modified at 2026-11-20 15:12:54