---
updatedAt: 2026-06-09T05:08:54.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Save the current settings.

Saves the current settings of Restore scans.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "version": "3.0.0",
    "title": "Cyber Resilience"
  },
  "tags": [
    {
      "name": "Restore scans",
      "description": "List of APIs to get information and perform operations of Restore scans on the resources managed in Druva Cloud."
    }
  ],
  "paths": {
    "/rwc/v1/settings": {
      "put": {
        "tags": [
          "Restore scans"
        ],
        "summary": "Save the current settings.",
        "description": "Saves the current settings of Restore scans.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SettingsRequest"
              }
            }
          },
          "description": "Required parameters for a default setting to be created for scan. To enable or disable the Anti Virus (AV) scan and File Hash scan settings as default."
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RWC_HTTP_400"
                }
              }
            }
          },
          "401": {
            "description": "The request either did not include an authentication token, or you have provided an expired authentication token."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RWC_HTTP_500"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://apis.druva.com/realize"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "SettingsRequest": {
        "type": "object",
        "properties": {
          "AVScanEnabled": {
            "type": "boolean",
            "description": "Boolean denoting if Anti Virus (AV) scan is enabled.",
            "example": "True"
          },
          "fileHashScanEnabled": {
            "type": "boolean",
            "description": "Boolean denoting if scan for File Hash is enabled.",
            "example": "True"
          },
          "allowAdminToSkipScanEndpoints": {
            "type": "boolean",
            "description": "Boolean denoting if inSync administrator is allowed to enable or disable Restore scans for Endpoints.",
            "example": "True"
          },
          "allowAdminToSkipScanServers": {
            "type": "boolean",
            "description": "Boolean denoting if Phoenix administrator is allowed to enable or disable Restore scans for Phoenix Servers.",
            "example": "True"
          },
          "allowUserToSkipScanEndpoints": {
            "type": "boolean",
            "description": "Boolean denoting if inSync Client User is allowed to enable or disable Restore scans for Endpoints.",
            "example": "True"
          },
          "skipScanForDeviceReplace": {
            "type": "boolean",
            "description": "Boolean denoting if the Anti Virus Scan should be skipped for endpoint's device replace restore scenario.",
            "example": "False"
          },
          "useDruvaCuratedIOCs": {
            "type": "boolean",
            "description": "Boolean denoting if Druva-published IOC libraries are used for scanning.",
            "example": "True"
          },
          "useLightScan": {
            "type": "boolean",
            "description": "Boolean denoting if Quick Scan is enabled.",
            "example": "True"
          },
          "excludeExtensionsFromScan": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of Strings(File Extensions)skipped from the scan.",
            "example": [
              ".exe",
              ".dll",
              ".tmp"
            ]
          },
          "maxFileSizeToScanInMB": {
            "type": "integer",
            "description": "Integer denoting maximum file size (between 100 and 1024) in MBs that should be scanned.",
            "example": 200
          },
          "daysBeyondWhichToSkipScan": {
            "type": "integer",
            "description": "Integer denoting the number of days (value can be 0, 30, 60, or 90) within which the last modified date of a file should be for it to be scanned. Enter 0 if you want to scan all the files.",
            "example": 30
          }
        }
      },
      "RWC_HTTP_400": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "RWCMaster-1002",
              "RWCMaster-1102"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Invalid API Syntax",
              "Invalid Resource Type"
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "RWC_HTTP_500": {
        "type": "object",
        "description": "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time.",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "RWCMaster-1000"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time."
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      }
    }
  }
}
```