Mutation

update_site_extensions

Updates the extensions assigned to a site.

Arguments

input: UpdateSiteExtensionsInput!

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


Input Fields

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

Return Fields

site(): Site!
The updated site.

Example

Query
mutation update_site_extensions($input: UpdateSiteExtensionsInput) {
    update_site_extensions(input: $updateExtensionsInput) {
        site {
            id
            extensions {
                id
            }
        }
    }
}
Variables
{
 "updateExtensionsInput": {
    "id": "2",
    "extension_ids": [
      "63dd3991-aaaa-bbbb-cccc-c3c6d94c5c7a"
    ]
  }
}