Mutation

move_cids_site

Moves a site for a CI-driven scan to a different location in the site tree.

Arguments

input: MoveCidsSiteInput!

The fields used to specify which site for a CI-driven scan you want to move, and the new parent folder.


Input Fields

cids_site_id(): ID!
The unique identifier of the site for a CI-driven scan that you want to move.
parent_id(): ID!
The unique identifier of the folder you want to move the site to. To move the site for a CI-driven scan to the root level, enter 0.

Return Fields

cids_site(): CidsSite!
The site for a CI-driven scan that was moved.

Example

Query
mutation MoveCidsSite($input: MoveCidsSiteInput!) {
  move_cids_site(input: $input) {
    cids_site {
      id
      name
      parent_id
    }
  }
}
Variables
{
  "input": {
    "cids_site_id": "1",
    "parent_id": "2"
  }
}
Result
{
  "data": {
    "move_cids_site": {
      "cids_site": {
        "id": "1",
        "name": "Example shop (CI)",
        "parent_id": "2"
      }
    }
  }
}