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.
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"
]
}
curl --request POST \
--url {{baseUrlAdmin}}/api/internal/cache/clear \
--header 'Authorization: Bearer <your-auth-token>' \
--header 'Content-Type: application/json' \
--data '{"cacheNames": ["flowx:core:cache"]}'