Mutation
move_site
Moves a given site to a different location within the site tree hierarchy.
Arguments
input: MoveSiteInput!
The fields used to specify which site you want to move, and which folder should be its new parent.
Input Fields
site_id():
ID!
The unique identifier of the site that you want to move.
parent_id():
ID!
The unique identifier of the folder into which you want to move the site. To move the site to the root level, enter 0.
Return Fields
site():
Site
The site that was moved.
Example
Query
mutation MoveSite($input: MoveSiteInput!) {
move_site(input: $input) {
site {
id
name
parent_id
scope {
included_urls
excluded_urls
}
application_logins {
id
label
username
}
scan_configurations {
id
}
email_recipients {
id
email
}
ephemeral
}
}
}
Variables
{
"input": {
"site_id": "42",
"parent_id": "2"
}
}