Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
audio-cache
/
bulk-delete
Bulk delete cached audio entries
curl --request POST \
  --url https://api.us.poly.ai/v1/agents/{agentId}/audio-cache/bulk-delete \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "deleted": [
    "<string>"
  ],
  "failed": [
    "<string>"
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

agentId
string
required

Body

application/json
ids
string[]
required

List of audio cache entry IDs to delete (max 20)

Required array length: 1 - 20 elements

Response

Per-ID delete results

deleted
string[]
required

IDs that were successfully deleted

failed
string[]
required

IDs that failed to delete

Last modified on June 10, 2026