POST
{baseUrlAdmin}
/
api
/
internal
/
cache
/
clear

The request is sent to the specified API endpoint, and upon successful execution, it clears the cache with the specified name.

Ensure that this operation is carried out by a user with an admin role.

baseUrlAdmin
string

The URL of admin.

cacheNames
object

This JSON payload specifies the cache name(s) that need to be cleared. In this case, it targets a cache with the name “flowx:core:cache”.

{
    "cacheNames": [
        "flowx:core:cache"
        ]
}