Skip to content

Bulk actions ​

This page explains how to run one action on many accounts at once: suspend, unsuspend, change package, PHP version, email notification, and server move. Every bulk action is always checked first with a dry run.

Quick flow ​

  1. Open Accounts.
  2. Filter the list if needed, e.g. by server, package, status, or source.
  3. Select the accounts to process. The checkbox in the table header selects every account currently shown. Terminated accounts cannot be selected.
  4. Click the Bulk actions menu. The number on the button is the number of selected accounts.
  5. Choose an action: Suspend, Unsuspend, Change package, PHP version, Notify owners, or Move server. The bulk action dialog opens; you can still switch the action in the Action field. Fill in its parameters.
  6. Click Check (dry run).
  7. Review the result table: each account is marked as will change or skipped, with the change or the reason.
  8. Click Run for N accounts.
  9. The dialog shows the result per account. The selection is then cleared.

The Clear selection menu item clears the selection. Run is only enabled after a dry run. Changing any parameter discards the preview, so you need to run the dry run again.

TIP

A dry run changes nothing. Use it to see the impact first, even when you are not sure yet that you will run the action.

Available actions ​

ActionParametersAccounts skipped
SuspendReason, at least 5 characters in the GUI.Already suspended.
UnsuspendReason, at least 5 characters.Not suspended.
Change packageNew package.Already on that package, or status is not active/suspended.
PHP version (all websites)PHP version. Empty = server default.Version not installed on the account's server, or not allowed by the package (only when the package restricts PHP versions); every website already uses that version.
Email notificationSubject (one line, at most 200 characters) and Message (plain text, at most 20,000 characters).Accounts without a contact email.
Move to another serverTarget server.The move plan has blockers.

Accounts that are provisioning, in the terminate grace period, or terminated are always skipped. One request covers at most 500 accounts.

Notes per action ​

  • PHP version is applied to every active website of each account. Packages without a PHP version list (the default for packages created in the GUI) allow every installed version, including EOL ones. The dry run flags when the old version cannot be chosen again, for example because the package restricts PHP versions, so you know the change is one-way.
  • Email notification is sent to each account's contact email through the client email channel. This requires an active email channel with the client notification option checked in Settings › Notifications. Without that channel, the request is rejected. See Dashboard and alerts.
  • Move server moves each account as its own job, one at a time. The old copy on the source server is suspended. The target server's capacity is checked again at the start of each job. See Moving between servers.

Reading the dry run result ​

The summary above the table reads "Dry run: N will change · M skipped". The Change / reason column shows, for example:

ActionExample change
Suspendactive → suspended
Change packagesmall → large
PHP version2 websites: 1× 8.1, 1× default → 8.3
Notificationemail to …
Move serversrv1 → srv2 (256 MB)

Skipped accounts show their reason.

When it runs ​

  • The panel checks each account again with the same rules as the dry run. If things changed since the dry run (e.g. someone just suspended one of the accounts), nothing runs. The dialog shows the latest assessment; review it and run again.
  • Each account is processed by the same service as a single action. So validation, jobs, and audit per account still apply.
  • A failure on one account does not stop the others. The final result reads "N done · M failed · K skipped".
  • Jobs are queued per account. Follow them on the Jobs page.
  • The audit log records a summary of the bulk action (bulk.<action>), with the count, parameters, and a username:status list, in addition to the per-account audit entries.

WARNING

A bulk suspend shows the suspension page on every selected account's sites right away. Check the filters and the dry run list carefully before you click Run.

Through the API ​

Bulk actions are also available at POST /v1/accounts/bulk with the action field (suspend, unsuspend, change_package, php_version, notify, move), accountIds, the action parameters, and dryRun. When running, the confirm field must equal the number of eligible accounts. See API reference.

See also ​

MoorCP Shared, a shared hosting panel for server fleets.