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

# Clear cached resources

Clears all locally cached resource clones.


## OpenAPI

````yaml /api-reference/openapi.local.json POST /clear
openapi: 3.1.0
info:
  title: btca Local Server API
  version: 2.0.0
  description: Local HTTP API exposed by btca-server.
servers:
  - url: http://localhost:{port}
    variables:
      port:
        default: '8080'
security: []
paths:
  /clear:
    post:
      summary: Clear cached resource clones
      responses:
        '200':
          description: Clear result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClearResponse'
components:
  schemas:
    ClearResponse:
      type: object
      required:
        - cleared
      properties:
        cleared:
          type: integer

````