Skip to main content

Delete a list of call recordings

POST 
/recordings/actions/delete

Permanently deletes a list of call recordings.

Request

Body

required

Deletes recordings for the given list of IDs.

    ids string[]required

    List of call recording IDs to delete.

Responses

204: The recordings have been successfully deleted.

default: Unexpected error.

Request samples


curl -L 'https://api.telnyx.com/v2/recordings/actions/delete' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"ids": [
"428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"428c31b6-7af4-4bcb-b7f5-5013ef9657c2"
]
}'

Response samples


{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}