unloadwallet
Specifying the wallet name on a wallet endpoint is invalid.
Argument #1-wallet_name
Type: string, Optional
Default=the wallet name from the RPC endpoint
Description: The name of the wallet to unload. If provided both here and in the RPC endpoint, the two must be identical.
Argument #2-load_on_startup
Type: boolean, Optional
Description: Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.
Result
{ (json object)
"warnings" : [ (json array, optional) Warning messages, if any, related to unloading the wallet.
"str", (string)
...
]
}