Skip to main content
Delete an installation’s blobs with their data, and the service accounts it made with their credentials, keeping its record and its log. The record ends uninstalled, with its inputs; it is installed again with install, or deleted with remove.

POST /revisions/:id/data/command (Command: uninstall)

A record that is already uninstalled is refused first, with 409 installation_uninstalled. Then the request runs three of the checks, in order: no operation and no migration of the installation may be running, and the installed version’s busy object, and, after a failed upgrade, the last ready version’s too, may not say the app is busy. Then it confirms by digest, as install does: without confirmed it answers app_not_confirmed with the lines it would act on and their digest, and sent again with that digest, it runs. It moves a ready or failed record to uninstalling and retires each account the installation made, as Lifecycle describes: its keys, credentials and memberships go, and its record stays for attribution. It answers with the record, and a worker deletes the blobs.

Request Body

Response

Errors

Every 409 body but that of plan_changed carries problems, lines and limits. problems is one sentence that starts with the code, as installation_busy: reports is installing or app_busy: reports is busy until 2026-12-03T03:00:00Z: the nightly reports run (acme-corp/reports-flows, session reports, object install/busy). lines is empty for installation_uninstalled, and for installation_busy over a record that is busy; it holds the lines the uninstall would act on for migration_running, app_busy, blob_not_ready (blob_not_ready: blob installed-apps is being deleted), and installation_busy when another request took the record first. limits is always empty. app_not_confirmed carries lines and digest, plan_changed the plan, and installation_not_found and forbidden only error and message.

Example

Sent with the digest that the same request without confirmed answered (below):
When the worker is done, the record is uninstalled, its blobs and accounts are empty, and the log ends with uninstalled; the record and its log stay.

Without confirmation

The request without confirmed writes nothing and answers what the uninstall would act on, and its digest:
Key off error; message is prose, shown here as ….