> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear cache

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

<Check>
  Ensure that this operation is carried out by a user with an admin role.
</Check>

<ParamField path="baseUrlAdmin" type="string">
  The URL of admin.
</ParamField>

<ParamField body="cacheNames" type="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".

  ```json theme={"dark"}
  {
      "cacheNames": [
          "flowx:core:cache"
          ]
  }
  ```
</ParamField>

<RequestExample>
  ```bash Request theme={"dark"}
  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"]}'

  ```
</RequestExample>

<ResponseExample>
  ```
  { "status": "success" }
  ```
</ResponseExample>


## Related topics

- [Process definition](/5.9/docs/building-blocks/process/process-definition.md)
- [UI Flows](/5.9/docs/building-blocks/ui-flows.md)
- [Permission reference guide](/5.9/setup-guides/access-management/permission-reference-guide.md)
- [Overview](/release-notes/v5.x/v5.1.x-lts/v5.1.0-october-2025/migrating-from-v4.7.x-to-5.1/migration-overview.md)
