Skip to main content
DELETE
Delete an audio track

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string<uuid>
required

ID of the track.

Example:

"3b9d2f6e-7a41-4c8e-9f05-1e6a2c4d8b70"

Query Parameters

type
enum<string>
required

Kind of track. ON_HOLD_MUSIC: played to the caller while a call is on hold or being transferred. AMBIENT_SOUND: background sound played during the call.

Available options:
ON_HOLD_MUSIC,
AMBIENT_SOUND
Example:

"ON_HOLD_MUSIC"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Track deleted successfully"

data
any[]

Always an empty array: this endpoint returns no data.

Example: