Skip to content

Clear browser recycle bin

Request

Permanently clear selected or all accessible browser profiles from the recycle bin.

  • Requires browser-profile deletion permission.
  • Data is processed asynchronously; data: true means accepted only.
  • Cleared profiles cannot be restored.
Security
OpenApiBearer
Bodyapplication/jsonrequired
Any of:
deleteAllboolean or null

Set true and omit envIds to clear all accessible recycled profiles.

Example:true
envIdsArray of strings, non-empty

Non-empty list of positive profile IDs; takes precedence over deleteAll. Decimal strings are recommended; JSON integers are also accepted. Null, fractions and values outside the signed 64-bit range are invalid.

curl -i -X POST \
  https://api.morelogin.com/env/recycleBin/clear \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "envIds": [
      "1868548141708648448",
      "1868548141708648449"
    ]
  }'

Responses

Accepted. data=true confirms acceptance only, not cleanup completion. No taskId is returned.

Headers
any
Bodyapplication/json
codeintegerrequired
msgstring or nullrequired
databooleanrequired
requestIdstringrequired
Response
{ "code": 0, "msg": null, "data": true, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }