Update Quality And Retention Settings For The Given Camera

PUT {{baseUrl}}/devices/:serial/camera/qualityAndRetention

Update quality and retention settings for the given camera #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: profileId| string| The ID of a quality and retention profile to assign to the camera. The profile's settings will override all of the per-camera quality and retention settings. If the value of this parameter is null, any existing profile will be unassigned from the camera. motionBasedRetentionEnabled| boolean| Boolean indicating if motion-based retention is enabled(true) or disabled(false) on the camera. audioRecordingEnabled| boolean| Boolean indicating if audio recording is enabled(true) or disabled(false) on the camera restrictedBandwidthModeEnabled| boolean| Boolean indicating if restricted bandwidth is enabled(true) or disabled(false) on the camera quality| string| Quality of the camera. Can be one of 'Standard', 'High' or 'Enhanced'. Not all qualities are supported by every camera model. resolution| string| Resolution of the camera. Can be one of '1280x720', '1920x1080', '1080x1080' or '2058x2058'. Not all resolutions are supported by every camera model. motionDetectorVersion| integer| The version of the motion detector that will be used by the camera. Only applies to Gen 2 cameras. Defaults to v2.

Supports Action Batches

ResourceOperation
/devices/{serial}/camera/qualityAndRetentionupdate

Request Body

{"profileId"=>"<string>", "motionBasedRetentionEnabled"=>"<boolean>", "audioRecordingEnabled"=>"<boolean>", "restrictedBandwidthModeEnabled"=>"<boolean>", "quality"=>"<string>", "resolution"=>"<string>", "motionDetectorVersion"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;motionBasedRetentionEnabled&quot;:false,&quot;audioRecordingEnabled&quot;:false,&quot;restrictedBandwidthModeEnabled&quot;:false,&quot;profileId&quot;:null,&quot;quality&quot;:&quot;Standard&quot;,&quot;motionDetectorVersion&quot;:2,&quot;resolution&quot;:720}