# Updates the screen recording settings for remote control sessions Saves the screen recording configuration for remote control sessions, including enable/disable toggle, frame rate, codec, color quality, storage limits, and whether authenticated download is required. Accepts a JSON body with the screen recording settings model. ## Endpoint `PUT /dcapi/tools/remoteControl/screenRecording` ## Request ### Request URL ```text https://{server-hostname}:8383/dcapi/tools/remoteControl/screenRecording ``` ### Scope ```text RemoteControl.UPDATE ``` ### Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ### Request Parameters #### Request Headers | Name | Type | Required | Value | |---|---|---|---| | Accept | string | Mandatory | `application/scrRecSettingsStatus.v1+json` | | Content-Type | string | Mandatory | `application/scrRecSettingsInfo.v1+json` | #### Request Body `application/json` | Name | Type | Required | |---|---|---| | recErrAction | string | Optional | | isNotifyUserEnabled | string | Optional | | notifyMessage | string | Mandatory | | isScreenRecEnabled | string | Optional | | isAuthVideoDownload | string | Optional | | framesPerSec | string | Optional | | recMaintainsSize | integer | Optional | | codecType | string | Optional | | driveFreeSpace | string | Optional | | colorQuality | string | Optional | ### Sample Request ```curl curl --request PUT \ --url https://appdomain/dcapi/tools/remoteControl/screenRecording \ --header 'Accept: application/scrRecSettingsStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/scrRecSettingsInfo.v1+json' \ --data '{"recErrAction":1,"isNotifyUserEnabled":1,"notifyMessage":"This session is being recorded.","isScreenRecEnabled":1,"framesPerSec":15,"recMaintainsSize":500,"codecType":1,"driveFreeSpace":1,"colorQuality":2,"isAuthVideoDownload":0}' ``` ### Sample Request Body ```json { "recErrAction": 1, "isNotifyUserEnabled": 1, "notifyMessage": "This session is being recorded.", "isScreenRecEnabled": 1, "framesPerSec": 15, "recMaintainsSize": 500, "codecType": 1, "driveFreeSpace": 1, "colorQuality": 2, "isAuthVideoDownload": 0 } ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body: `application/json` | Name | Type | Description | |---|---|---| | status | string | Result of the operation: success or failure | ### Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ### Sample Response: HTTP 200 ```json { "status": "success" } ``` ## API Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.