Pause and resume recording

Pause recording (mute):

POST /api/v2/calls/<call-id>.json/muting?action=mute

Resume recording (unmute):

POST /api/v2/calls/<call-id>.json/muting?action=unmute

Response contains HTTP status code as shown in the following table.

Response Description
200 OK Call recording has been paused/resumed successfully

403 Forbidden The request cannot be completed because API user has no permission to pause/resume recording. Verify role permissions.
404 Not Found Call recording with such ID is not found.