System generated reset redis cache db api
- To reset the Redis cache of the database collections, database, and instance, use reset-redis-cache-db api.
Request Method: POST
URL
Request payload
- Reset redis cache of single collection.
- Reset multiple database cache.
[
{
"instance": "instance_name",
"database": "database_name",
"collection": "table_name"
},
{
"instance": "instance_name",
"database": "database_name",
"collection": "table_name"
}
]
- Reset all collections of the database and send the request payload as below.
Database cache reset
Reset cache of database table/collection using global object 'g'.