Saltar al contenido principal
POST
/
v1
/
call
/
bulk-delete
Bulk delete calls
import requests

url = "https://api.diga.io/v1/call/bulk-delete"

payload = { "call_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "deleted": 123
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
call_ids
string<uuid>[]
requerido

UUIDs of the calls to delete. Up to 500 per request.

Required array length: 1 - 500 elements

Respuesta

Successful Response

deleted
integer
requerido

Number of terminal calls actually deleted from the requested set.