POST
{baseUrlAdmin}
/
api
/
internal
/
cache
/
clear
curl --request POST \
--url {{baseUrlAdmin}}/api/internal/cache/clear \
--header 'Content-Type: application/json' \
--data '{"cacheNames": ["flowx:core:cache"]}'

{ "status": "success" }

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

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"
        ]
}