Mutation
move_site
Moves a site to a different location in the site tree.
Arguments
input: MoveSiteInput!
The fields used to specify which site you want to move, and the new parent folder.
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 you want to move the site to. 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_v2 {
start_urls
in_scope_url_prefixes
out_of_scope_url_prefixes
protocol_options
}
application_logins {
login_credentials {
id
label
username
password
}
recorded_logins {
id
label
script
}
}
scan_configurations {
id
}
email_recipients {
id
email
}
ephemeral
}
}
}
Variables
{
"input": {
"site_id": "42",
"parent_id": "2"
}
}