This function lists an account's deployed cPAddons instances.
uapi --output=jsonpretty \ --user=username \ cPAddons \ list_addon_instances
{- "apiversion": 3,
- "func": "list_addon_instances",
- "module": "cPAddons",
- "result": {
- "data": [
- {
- "addon": "cPanel::Blogs::WordPressX",
- "domain": "example.com",
- "installdir": "/home/example/public_html/wordpress",
- "instance": "cPanel::Blogs::WordPressX.0",
- "unique_id": "cPanel::Blogs::WordPressX.0.1486754861"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}