Customer offboarding
When a customer leaves its reseller or managed-service provider, the offboarding wizard in the Partner portal hands the company over in five steps. Each step is remembered, can be run again if it stops half way, and is written to the install-wide audit log with the member who ran it.
:::note Nothing is deleted Offboarding never deletes data. Quotas and offboarding refuse and alert; they do not delete. Deleting a company is a separate, confirmed action of a system administrator (Admin > System > Companies), and it is refused while any legal hold is active. :::
Start
- In Partner portal, open the ... menu of the company and choose Offboard....
- Enter the month of the final bill (this month by default) and, if you like, a note. Select Start offboarding. Starting changes nothing.
Only one offboarding of a company can be open at a time. Partner administrators can run the steps; viewers can read the progress. Every step needs the page to be up to date: if someone else changed the offboarding meanwhile, reload it and run the step again.
The five steps
- Revoke devices and SIP credentials. Every device of the company that is still live is revoked: its SIP credentials are removed, its setup invitations end and the app sessions it opened are signed out. The device records stay. Running it again only touches what is still live.
- Release numbers or mark them for port-out. The step lists the company's MonoPbx Voice numbers and the numbers on its own carrier. Mark for port-out (the default) records the decision and keeps the number with the company until the port completes. Release gives a MonoPbx Voice number back to the supplier: it leaves the company's trunk at once and is held for 30 days without a fee, so it can still be ported out. Numbers on the company's own carrier are only ever marked. A number the supplier could not release stays Failed with its error; run the step again to carry on with what is left. Numbers already done are never released twice.
- Final usage bill. Records the company's talk minutes, seats and SMS segments for the month you chose, counted the same way as the partner usage report. Choose ConnectWise Manage or Autotask to also book the charge in your PSA (the company must be linked to its PSA customer; see ConnectWise Manage and Autotask). A charge of the same month and company is never added twice. If the call history is not available the step fails instead of billing zero minutes; try again later.
- Export the company's data. Downloads the company's configuration as one encrypted file, in the same format as the
mpbx tenant exportcommand (passwords and keys are left out). Enter a passphrase of at least 12 characters. It is not stored anywhere: keep it with the file, because without it the file cannot be opened. Running the step again makes a new file. - Check legal holds. Counts the company's active legal holds. With none, the step is Done. With one or more it is Blocked: the offboarding can still be completed, but the company cannot be deleted until its administrators release every hold. Run the step again after a release. The cases themselves are the customer's and are not shown to the partner.
Complete or cancel
When every step is done (the legal-hold step may be blocked), tick the confirmation and select Complete offboarding. This closes the run and suspends the company: its accounts can no longer sign in. Select Resume in the portal to undo that. Nothing is deleted.
Cancel offboarding closes the run without completing it, so a new one can start. What the steps already did stays (revoked devices stay revoked).
Deleting the company afterwards
A system administrator can delete a suspended company with Admin > System > Companies, by typing its handle to confirm. If a legal hold is active, the deletion is refused (MPBX-COMPANY-LEGAL-HOLD) and nothing is removed. Release the hold first; see Legal hold.
For developers
The wizard uses the partner portal API under /api/v1/partner/companies/{company_id}/offboarding: GET and POST to read and start, POST .../steps/devices, .../steps/numbers, .../steps/bill, .../steps/export and .../steps/legal-hold to run a step, and POST .../complete or .../cancel. Changes need If-Match with the ETag of the offboarding, and errors are application/problem+json (see the error codes).