cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Database → Update the servers SQL configuration.

AI-generated

Summary

Update the server's SQL configuration by sending an array of configuration changes to WHM's database SQL configuration endpoint.

Inputs

  • Data (required) — An array of objects specifying the requested updates to the SQL configuration on the server.

Output shape

the JSON response from the WHM API indicating the result of the update operation

The operation sends the provided update data in the request body and returns the WHM API response which may include status or error information.

Examples

Example 1: Update SQL configuration with new parameters

Provide a JSON string representing an array of update objects under the 'Data' parameter, each defining a change to apply to the SQL configuration.

Links

Discussion