Creates New Quality Retention Profile For This Network

POST {{baseUrl}}/networks/:networkId/camera/qualityRetentionProfiles

Creates new quality retention profile for this network. #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: name| string| The name of the new profile. Must be unique. This parameter is required. motionBasedRetentionEnabled| boolean| Deletes footage older than 3 days in which no motion was detected. Can be either true or false. Defaults to false. restrictedBandwidthModeEnabled| boolean| Disable features that require additional bandwidth such as Motion Recap. Can be either true or false. Defaults to false. audioRecordingEnabled| boolean| Whether or not to record audio. Can be either true or false. Defaults to false. cloudArchiveEnabled| boolean| Create redundant video backup using Cloud Archive. Can be either true or false. Defaults to false. motionDetectorVersion| integer| The version of the motion detector that will be used by the camera. Only applies to Gen 2 cameras. Defaults to v2. scheduleId| string| Schedule for which this camera will record video, or 'null' to always record. maxRetentionDays| integer| The maximum number of days for which the data will be stored, or 'null' to keep data until storage space runs out. If the former, it can be one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 30, 60, 90] days. videoSettings| object| Video quality and resolution settings for all the camera models.

Request Body

{"name"=>"<string>", "motionBasedRetentionEnabled"=>"<boolean>", "restrictedBandwidthModeEnabled"=>"<boolean>", "audioRecordingEnabled"=>"<boolean>", "cloudArchiveEnabled"=>"<boolean>", "motionDetectorVersion"=>"<integer>", "scheduleId"=>"<string>", "maxRetentionDays"=>"<integer>", "videoSettings"=>{"MV21/MV71"=>{"quality"=>"<string>", "resolution"=>"<string>"}, "MV12/MV22/MV72"=>{"quality"=>"<string>", "resolution"=>"<string>"}, "MV32"=>{"quality"=>"<string>", "resolution"=>"<string>"}, "MV12WE"=>{"quality"=>"<string>", "resolution"=>"<string>"}, "MV22X/MV72X"=>{"quality"=>"<string>", "resolution"=>"<string>"}}}

HEADERS

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

RESPONSES

status: OK

{&quot;id&quot;:&quot;1234&quot;,&quot;networkId&quot;:&quot;N_24329156&quot;,&quot;name&quot;:&quot;Sample quality retention profile&quot;,&quot;restrictedBandwidthModeEnabled&quot;:true,&quot;motionBasedRetentionEnabled&quot;:false,&quot;audioRecordingEnabled&quot;:false,&quot;cloudArchiveEnabled&quot;:false,&quot;maxRetentionDays&quot;:7,&quot;scheduleId&quot;:null,&quot;motionDetectorVersion&quot;:2,&quot;videoSettings&quot;:{&quot;MV32&quot;:{&quot;quality&quot;:&quot;Enhanced&quot;,&quot;resolution&quot;:&quot;1080x1080&quot;},&quot;MV21/MV71&quot;:{&quot;quality&quot;:&quot;High&quot;,&quot;resolution&quot;:&quot;1280x720&quot;},&quot;MV12/MV22/MV72&quot;:{&quot;quality&quot;:&quot;High&quot;,&quot;resolution&quot;:&quot;1920x1080&quot;},&quot;MV12WE&quot;:{&quot;quality&quot;:&quot;High&quot;,&quot;resolution&quot;:&quot;1920x1080&quot;}}}