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