Update WordPress site admin password

This function updates a WordPress® cPAddon instance's administrator password.

Note:

You must install the WordPress Manager cPanel plugin to access this API function.

SecurityBasicAuth
Request
query Parameters
id
required
string

The cPAddon instance's unique ID.

Note:

You can retrieve an instance ID with the get_instances function.

Example: id=cPanel__Blogs__WordPressX.0.1491917088
password
required
string

The cPAddon instance's new administrator password.

Example: password=luggage12345
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/WordPressInstanceManager/change_admin_password
Request samples
uapi --output=jsonpretty \
  --user=username \
  WordPressInstanceManager \
  change_admin_password \
  id='cPanel__Blogs__WordPressX.0.1491917088' \
  password='luggage12345'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "change_admin_password",
  • "module": "WordPressInstanceManager",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}