Mutation

update_folder_extensions

Updates the extensions assigned to a folder.

Arguments

input: UpdateFolderExtensionsInput!

The fields used to specify which folder you want update and what its new extensions should be.


Input Fields

id(): ID!
The unique identifier of the folder you want to update extensions for.
extension_ids(): [ID!]
A list of the extensions to use for scans of the folder.

Return Fields

folder(): Folder!
The updated folder.

Example

Query
mutation UpdateFolderExtensions($input: UpdateFolderExtensionsInput!) {
  update_folder_extensions(input: $input) {
    folder {
      id
      name
      parent_id
      scan_configurations {
        id
      }
      extensions {
        id
      }
      email_recipients {
        id
        email
      }
      slack_channels {
        id
        name
      }
    }
  }
}
Variables
{
  "input": {
    "id": "0",
    "extension_ids": []
  }
}