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

# Delete a cached audio entry

> Delete a cached audio entry and its associated audio file from storage. The entry is permanently removed and cannot be recovered.



## OpenAPI

````yaml DELETE /v1/agents/{agentId}/audio-cache/{entryId}
openapi: 3.1.0
info:
  title: PolyAI Agents API
  version: 1.0.11
  description: Manage PolyAI agents, telephony, deployments, and real-time configs.
servers:
  - url: https://api.us.poly.ai
    description: US region
  - url: https://api.eu.poly.ai
    description: EU region
  - url: https://api.uk.poly.ai
    description: UK region
  - url: https://api.studio.poly.ai
    description: Studio region
security:
  - polyApiKey: []
paths:
  /v1/agents/{agentId}/audio-cache/{entryId}:
    parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
      - name: entryId
        in: path
        required: true
        schema:
          type: string
        description: Audio cache entry ID
    delete:
      tags:
        - Audio Cache
      summary: Delete a cached audio entry
      description: >-
        Delete a cached audio entry and its associated audio file from storage.
        The entry is permanently removed and cannot be recovered.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAudioCacheEntryResponse'
        '400':
          description: Invalid request – `entryId` is not a numeric ID
        '401':
          description: Unauthorized – missing or invalid API key
        '403':
          description: >-
            Forbidden – the API key does not have `write` permission on the
            audio cache resource
        '404':
          description: Resource not found
components:
  schemas:
    DeleteAudioCacheEntryResponse:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
  securitySchemes:
    polyApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````