Skip to main content
Delete an uninstalled installation’s record and its log. It ends that installation’s log (deleting the installer blob or its organization ends all of them), and it frees the record’s place under blobhub.package.installer.installations_per_revision (Limits). An installation that still has blobs is uninstalled first, with uninstall.

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

The request checks that the record is uninstalled, then 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 (The checks, in order).

Request Body

Response

An empty success: it carries status and nothing else.

Errors

The 409 body of installation_not_uninstalled carries problems, one sentence that starts with the code, as installation_not_uninstalled: reports is ready, and lines and limits, both empty.

Example

Without confirmation

The same request without confirmed writes nothing and answers 400 app_not_confirmed, its body carrying the lines the remove would act on, the record and the log it deletes, and their digest. Sent again with that digest as confirmed, it removes them. Key off error; message and the lines are prose, printed as they are.