Take the call back from the assistant
DELETE
/v1/calls/{callId}/agent
const url = 'https://your-machine.your-tailnet.ts.net/v1/calls/example/agent';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-machine.your-tailnet.ts.net/v1/calls/example/agent \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”callId
required
string
Responses
Section titled “Responses”Assistant left the call.