Ask the local MoreLogin client to clear cached data for a browser profile.
- Preconditions: identify the profile by
envIdoruniqueIdand 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.
Clear extension data. If extensionFile is not provided, clears both extension name and data. Default:false
Default:false
- Local APIhttp://127.0.0.1:40000/api/env/removeLocalCache
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
}'Response
{ "code": 0, "msg": null, "data": { "envId": "1673823102599682" }, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }