Pause and resume recording for user
Pause recording (mute) for the current active call for user:
POST /api/v2/users/<user-id>.json/muting?action=mute
Resume recording (unmute):
POST /api/v2/users/<user-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 for the current active call for this user. |
403 Forbidden | The request cannot be completed because API user has no permission to pause/resume recording. Verify role permissions. |
409 Conflict | The current active call state has been changed from active to completed in a middle of request. |
404 Not Found | No active call exist for this user right now. |