[Hosting] Programmatic Rebuild/Restart for Hosted Sites (Hub API/CLI)

1

Hi WPMU DEV Support Team,

I’m running an internal R&D workflow on a hosted site where code/content changes are deployed via rsync + SSH, and then finalized with Hub “Rebuild site” and occasional “Restart” actions.

At the moment, these actions appear to be UI-only. I couldn’t find a documented API/CLI endpoint for triggering them programmatically in your Hosting API docs.

Could you confirm:

Whether there is currently any supported way to trigger Rebuild site and Restart via API, CLI, webhook, or SSH command.

If not currently available, whether you have plans to add this capability.

If possible, whether you can prioritize this as a feature request.

This would materially improve CI/CD reliability for modern app workflows by removing the last manual step in deployments.

For context, an ideal solution would include:

Authenticated endpoint(s) for Rebuild and Restart
Site-scoped permissions/tokens
Optional status polling (queued/running/success/failure)
Basic audit trail

Happy to provide additional details or test any beta implementation.

Thanks in advance,

Skip Shean
16Wells