Mutation
update_site_bchecks
Updates the BChecks assigned to a site.
Arguments
input: UpdateSiteBChecksInput!
The fields used to specify which site you want update and what its new BChecks should be.
Input Fields
id():
ID!
The unique identifier of the site whose scan configurations you want to update.
bcheck_ids():
[ID!]
A list of the BCheck IDs that you want to use for scans of the site that you are updating.
Return Fields
site():
Site!
The updated site.
Example
Query
mutation UpdateSiteBchecks($input: UpdateSiteBChecksInput!) {
update_site_bchecks(input: $input) {
site {
id
bchecks {
id
name
}
}
}
}
Variables
{
"input": {
"bcheck_ids": [
"215048d9-943a-3263-b910-62132bd2e6e8"
],
"id": "1"
}
}
Result
{
"data": {
"update_site_bchecks": {
"site": {
"id": "1",
"bchecks": [
{
"id": "215048d9-943a-3263-b910-62132bd2e6e8",
"name": "Example BCheck"
}
]
}
}
}
}