import plivo

client = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")

response = client.multi_party_calls.stop_participant_recording(memberid,uuid='uuid')
print(response)
curl -i --user AUTH_ID:AUTH_TOKEN -X DELETE \
    https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/{mpc_name/UUID}/Participant/{Member_Id}/Record/

This endpoint lets you stop an ongoing participant recording.

DELETE
https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/{mpc_name/UUID}/Participant/{Member_Id}/Record/

Arguments

ParameterDescription
record_track_type (string)Indicates if the recording should be stopped for participant-level or all-channel recordings.
Possible values: participant / all / both
participant: Stops single-track/participant-level recording for the provided member_id.
all: Stops multi-channel recording for the specified participant.
both: Stops both single-track/participant-level and all-channel recordings.
Default: all

Returns

Returns an acknowledgement that the recording has been stopped.

import plivo

client = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")

response = client.multi_party_calls.stop_participant_recording(memberid,uuid='uuid')
print(response)
curl -i --user AUTH_ID:AUTH_TOKEN -X DELETE \
    https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/{mpc_name/UUID}/Participant/{Member_Id}/Record/