# Delete browser profile

Move one or more browser profiles to the recycle bin.
- **Preconditions**: the profile must not already be in the recycle bin, must not be running, and must not be mid-transfer. Close the browser first.
- **Effect**: a soft delete. The row, fingerprint and cloud cache are kept and the profile is flagged as recycled with a timestamp. Plan capacity is released immediately, but the daily creation counter is not refunded.
- **Completion**: synchronous.
- **Recovery**: restoring from the recycle bin is not exposed on the API surface — use the MoreLogin client or web console.
- **Retry**: repeating the call reports the profile as already deleted; it cannot double-delete.

Endpoint: POST /api/env/removeToRecycleBin/batch
Version: 2026-09-05

## Request fields (application/json):

  - `envIds` (array, required)
    List of environment (browser profile) IDs to delete.
    Example: ["1868548141708648448","1868548141708648449"]

  - `removeEnvData` (boolean)
    Also delete local configuration files?
Supported in v2.28.0+.
    Example: false

## Response 200:

  - `200` (unknown)
    Success. `data` is a single boolean value.

## Response 200 fields (application/json):

  - `code` (integer, required)

  - `msg` (string | null, required)

  - `data` (boolean, required)

  - `requestId` (string, required)

