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)
HTTP Status Code: 204

This endpoint lets you pause on ongoing participant recording. A paused recording can be resumed at a later time.

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

Arguments

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

Returns

If successful, this endpoint returns an acknowledgement that the recording was successfully paused.

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)
HTTP Status Code: 204