Mutation

update_folder_scan_configurations

Updates the scan configurations for a given folder.

Arguments

input: UpdateFolderScanConfigurationsInput!

The fields used to specify which scan configurations you want to update for the folder, and what changes to make.


Input Fields

id(): ID!
The unique identifier of the folder whose scan configurations you want to update.
scan_configuration_ids(): [ID!]
A list of the scan configurations that you want to use for scans of the sites in the folder that you are updating.

Return Fields

folder(): Folder!
The updated folder.

Example

Query
mutation UpdateFolderScanConfigurations($input: UpdateFolderScanConfigurationsInput!) {
  update_folder_scan_configurations(input: $input) {
    folder {
      id
      scan_configurations {
        id
      }
    }
  }
}
Variables
{
  "input": {
    "id": "1",
    "scan_configuration_ids": [
      "f2fca796-7747-3646-8dbf-e8495676a739"
    ]
  }
}
Result
{
  "data": {
    "update_folder_scan_configurations": {
      "folder": {
        "id": "1",
        "scan_configurations": [
          {
            "id": "f2fca796-7747-3646-8dbf-e8495676a739"
          }
        ]
      }
    }
  }
}