Please update to the latest patch version to use it.
POST /api/v2/browser-profile/delete-cache
Description: Clear local cache of specific profiles.
For account security, please ensure that there are no open browsers on the device when using this interface.
Optional Body parameters can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description |
---|---|---|---|---|---|
profile_id | list | YES | - | ["h1yynkm","h1yynks","h1yynkd"] | Profile id of the profiles of which the cache need to be deleted |
type | list | YES | - | ["local_storage","indexeddb"] | Cache type to be cleared. Support type: local_storage, indexeddb extension_cache cookie history image_file |
//Operation succeeded
{
"code":0,
"msg":"success"
}
//If the current user has an open browser, the execution will fail
{
"code":-1,
"msg":"There are currently open browsers, please close them before deleting the cache"
}