import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.speak_stop(
    call_uuid='3a2e4c90-dcee-4931-8a59-f123ab507e60', )
print(response)
{
    "message" : "speak stopped",
    "api_id" : "cf2359c8-f4d6-11e6-b886-067c5485c240"
}

This endpoint lets you stop active text being spoken during a call.

API Endpoint

DELETE
https://api.plivo.com/v1/Account/{auth_id}/Call/{call_uuid}/Speak/

Arguments

No arguments need to be passed.

import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.speak_stop(
    call_uuid='3a2e4c90-dcee-4931-8a59-f123ab507e60', )
print(response)
{
    "message" : "speak stopped",
    "api_id" : "cf2359c8-f4d6-11e6-b886-067c5485c240"
}