# Organization archiving Organization archiving is a separate data-preservation and later infrastructure-decommissioning workflow in the [demo](/en/docs/website-admin-demo-organizations) or [purchased organization](/en/docs/website-admin-paid-organizations) detail. It is not the same as stopping a demo, subscription expiration or deleting a customer row. ## Customer request The customer console's organization detail has an archive panel. A verified owner may submit a request with confirmation of the organization subdomain and an optional reason up to 1,000 characters. This creates Requested status; it does not immediately decommission infrastructure. A request can be cancelled only before it starts. Repeating a request for an existing operation does not create another independent operation. ## Administrative workflow On the organization's Edit page, Archive organization and Decommission infrastructure after archive actions appear according to state. If the project archive feature is disabled, these actions are unavailable. Starting requires an active or stopped organization, no pending Moodle/Student interface deployment and prepared archiving services. Both actions require subdomain confirmation. Before confirmation, verify that the action is agreed with the owner and current obligations. After launch the organization enters Archiving, and access is restricted for consistent preservation of databases and uploads. The archive must be restore-verified before the later infrastructure-decommissioning action becomes available. These are distinct phases; an archive record is not evidence that a valid copy is ready. On successful decommissioning the recorded archive remains in dedicated storage; this process does not automatically delete archived data. ## Archive phases | Status | Meaning | | --- | --- | | Requested | Request stored, not started | | Cancelled | Unstarted request cancelled | | Archiving | Preservation in progress; organization in archive mode | | Verified | Restore check and required components confirmed | | Deprovisioning | Authorized decommissioning after verification | | Deprovisioned | Decommissioning confirmed; organization becomes Archived | | Failed | Processing failed, investigation required | The latest archive status/reason appears in organization lists; customers see their own request status. Successful decommissioning marks Moodle and Student interface disabled, turns off renewal preference for related subscriptions and sets cancellation at period end. It is not an automatic refund or deletion of [subscription history](/en/docs/website-admin-subscriptions). Illustrative example: the owner of fictional “Training Academy” requests an end to the trial workspace. The administrator checks the organization and agreed schedule, follows the supported archiving workflow and monitors Verified. If Failed or an unknown outcome appears, investigate through support; do not assume data is preserved without confirmation. ## Permissions and limitations Requesting is available to the verified owner or authorized administrator; starting and infrastructure decommissioning require Website Admin `demo_requests` for demos or `organizations` for purchased organizations, or full access. No faculty/profession scope. Ordinary customers cannot decommission infrastructure themselves. See [administrator permissions](/en/docs/website-admin-users). If an action is unavailable, check organization status, current operations and archive verification. For failure, coordinate with the responsible archive team: repeating or deleting a row does not replace verification. Share technical details only with internal support. ## Implementation references - [OrganizationArchiveActions.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Filament/Support/OrganizationArchiveActions.php) - [OrganizationArchiveService.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Services/OrganizationArchiveService.php) - [OrganizationArchive.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Models/OrganizationArchive.php) - [Organization.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Models/Organization.php) - [OrganizationArchiveController.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Http/Controllers/Api/OrganizationArchiveController.php) - [EditOrganization.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Filament/Resources/Organizations/Pages/EditOrganization.php) - [EditPaidOrganization.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/0e9f9d1ff678f3bed3698450f0f431b65b159773/app/Filament/Resources/PaidOrganizations/Pages/EditPaidOrganization.php) - [organization-archive-panel.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/components/account/organization-archive-panel.tsx) - [organizations-list.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/components/account/organizations-list.tsx) - [page.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/app/%5Blocale%5D/%28console%29/dashboard/organizations/page.tsx)