Response
Call
Multiparty call
- Overview
- The Multiparty object
- Activate a multiparty call
- Retrieve a multiparty call
- Retrieve all multiparty calls
- End a multiparty call
- Participants
- Multiparty call recording
Conference
Audio Stream
Verified Caller ID
Endpoint
Call
Hang up a specific call
Copy
Ask AI
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.delete(
call_uuid='3a2e4c90-dcee-4931-8a59-f123ab507e60', )
print(response)
Copy
Ask AI
HTTP Status Code: 204
This method lets you hang up an ongoing call or cancel a queued outbound call. If you want to hang up an incoming call without answering it, see the documentation on the Hangup XML element.
API Endpoint
DELETE
Copy
Ask AI
https://api.plivo.com/v1/Account/{auth_id}/Call/{call_uuid}/
If CallUUID is not specified, all ongoing calls in that account will get disconnected.
Arguments
No arguments need to be passed.
Copy
Ask AI
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.delete(
call_uuid='3a2e4c90-dcee-4931-8a59-f123ab507e60', )
print(response)
Copy
Ask AI
HTTP Status Code: 204
Copy
Ask AI
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.delete(
call_uuid='3a2e4c90-dcee-4931-8a59-f123ab507e60', )
print(response)
Copy
Ask AI
HTTP Status Code: 204
Assistant
Responses are generated using AI and may contain mistakes.