---
title: "Update cloud backup settings for a certain camera."
method: POST
path: "/cameras/v1/cloud_backup/settings"
tags: ["CloudBackup"]
---

# Update cloud backup settings for a certain camera.

`POST /cameras/v1/cloud_backup/settings`

If camera cloud backup has been enabled and disabled before,
enable it again will start backup from last disabled time

## Request body

- CloudBackupSettingsPostRequest
  - `camera_id` string, required — The unique identifier of the camera.
  - `days_to_preserve` string, required — Delimited list of booleans indicating which days footage should be uploaded. The elements in the array indicate the following days in order: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. If value is 1, cloud backup is on for that day. If value is 0, cloud backup is off for that day. For example, <code>0,1,1,1,1,1,0</code> means only backup on weekdays.
  - `enabled` integer, required — Status of cloud backup for a camera. If value is 1, cloud backup is enabled. If value is 0, cloud backup is disabled.
  - `time_to_preserve` string, required — Delimited list of <code>start_time, end_time</code> as timeslot for which a user wants footage to be backed up to the cloud, start_time and end_time are integers indicating seconds to midnight, i.e, <code>3600,7200</code> means 1am - 2am
  - `upload_timeslot` string, required — Delimited list of <code>start_time, end_time</code> as timeslot for scheduled time for footage upload, start_time and end_time are integers indicating seconds to midnight, i.e, <code>3600,7200</code> means 1am - 2am
  - `video_quality` string, required — Quality of the uploaded video. Two values are possible: <code>STANDARD_QUALITY</code> and <code>HIGH_QUALITY</code>.
  - `video_to_upload` string, required — The type of video that is backed-up. Two values are possible: <code>MOTION</code> and <code>ALL</code>.

## Response `200`

ok

---

[API](https://skmtc.net/verkada/apis/api-tokens.md) · [All operations](https://skmtc.net/verkada/apis/api-tokens/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verkada/api-tokens/revisions/4a79d2d949a6/schema)
