Skip to content

Cache & Window

Clear profile cache and arrange profile windows.

Clear local profile cache

Request

Ask the local MoreLogin client to clear cached data for a browser profile.

  • Preconditions: identify the profile by envId or uniqueId and select at least one cache type. Firefox profiles must select every type at once.
  • Effect: the service validates the request and records it; the deletion itself is performed by the desktop client on local disk. Cloud-side cache is untouched — use the cloud cache endpoint for that.
  • Completion: the response confirms the request was accepted by the service, not that local files were removed. No endpoint reports local disk state.
Bodyapplication/jsonrequired
envIdstringrequired

Environment ID. Exactly one of envId or uniqueId must be provided.

localStorageboolean

Clear LocalStorage Default:false

Default:false
indexedDBboolean

Clear IndexedDB Default:false

Default:false
cookieboolean

Clear cookies Default:false

Default:false
extensionboolean

Clear extension data. If extensionFile is not provided, clears both extension name and data. Default:false

Default:false
extensionFileboolean

Clear extension files (effective from v3.36).

Default:false
curl -i -X POST \
  http://127.0.0.1:40000/api/env/removeLocalCache \
  -H 'Content-Type: application/json' \
  -d '{
    "envId": "1924340272932134912",
    "localStorage": false,
    "indexedDB": false,
    "cookie": false,
    "extension": false,
    "extensionFile": true
  }'

Responses

Success. data is an object with the fields envId.

Bodyapplication/json
codeinteger
msgstring or null
dataobject
requestIdstring

Unique request identifier; include it when contacting support

Response
{ "code": 0, "msg": null, "data": { "envId": "1673823102599682" }, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }