this function exists solely for the purpose of compatibility with other CFML Engines. we strongly recommend not to use this function.
it is recommended to use the Administrator interface in order to remove a cache connection.
Lucee Function Reference
This Function is deprecated
cacheregionremove(string cacheName,[string password]):void
The arguments for this function are set. You can not use other arguments except the following ones.
|cacheName||string||Yes||the name of the cache connection to remove (also known as Region in other CFML engines).|
the password for the web administrator is required to interact with Cache Connections.
you can optionally set it for your Application in Application.cfc using the variable [this.webAdminPassword].