---
title: "Delete an application."
method: GET
path: "/WebApp/delete"
tags: ["WebApp", "Web Apps"]
---

# Delete an application.

`GET /WebApp/delete`

This function deletes an application: it stops the application's
running process and removes its container, moves the application's
directory aside to a `.bak` sibling (kept for verification or rollback
rather than deleted), and removes the application from the account's
registry.

Deleting an application cannot be undone, so it requires an explicit
confirmation: `verify` must be `1` to proceed. A `verify` of `0` makes
no changes and returns a confirmation-required error.

The application's domain is not affected; subdomains are managed
independently.

On failure, the `metadata.error_category` field carries a
machine-readable failure category.

**Important**:

  The `verify` parameter is **required** and has no default. You must
  set it to `1` to confirm this irreversible operation.

## Query parameters

- `name` string, required
- `verify` 0 | 1, required

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object
      - `removed` 1 — Whether the application was removed. * `1` — Removed.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
      - `error_category` 'teardown_failed' | 'deploy_in_progress', nullable — The machine-readable failure category. Only present when `status` is `0`. * `teardown_failed` — The system could not fully remove the application (its container or its files); the application remains registered so the deletion can be retried. * `deploy_in_progress` — The application has a deploy currently in flight; wait for it to finish or fail, then retry.
    - `status` 0 | 1 — - `1` - Success. - `0` - Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/versions/632e2f8e6d04/schema)
