---
title: "Delete audio file"
method: DELETE
path: "/calls/1/files/{fileId}"
tags: ["channels", "voice", "file-management"]
---

# Delete audio file

`DELETE /calls/1/files/{fileId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/calls/1/files/{fileId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Delete an audio file.

## Path parameters

- `fileId` string, required

## Response `200`

Success

- 4527871876f1b326359cd9e5dcf777f0ecc3c5fde89b1e88f0c154b298b67611File
  - `id` string: File ID.
  - `name` string, required: File name.
  - `fileFormat` 'MP3' | 'WAV' | 'MP4', required: File format.
  - `size` integer: File size in bytes.
  - `creationTime` string, date-time: File creation time.
  - `expirationTime` string, date-time: File expiration time.
  - `duration` integer: File duration in seconds.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
