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 UpdateSiteExtensions($input: UpdateSiteExtensionsInput!) {
update_site_extensions(input: $input) {
site {
id
extensions {
id
}
}
}
}
Variables
{
"input": {
"extension_ids": [
"f8fd12c1-d186-305f-be12-19ed029d65ec"
],
"id": "1"
}
}
Result
{
"data": {
"update_site_extensions": {
"site": {
"id": "1",
"extensions": [
{
"id": "f8fd12c1-d186-305f-be12-19ed029d65ec"
}
]
}
}
}
}