Mutation

rename_site

Renames an existing site in the site tree.

Arguments

input: RenameSiteInput!

The fields used to specify which site you want to rename and what the new name should be.


Input Fields

id(): ID!
The unique identifier of the site that you want to rename.
name(): String!
The new name for the site. This is the name that is displayed on the Burp Suite DAST web UI.

Return Fields

site(): Site!
The renamed site.

Example

Query
mutation RenameSite($input: RenameSiteInput!) {
  rename_site(input: $input) {
    site {
      id
      name
    }
  }
}
Variables
{
  "input": {
    "id": "1",
    "name": "Renamed example site"
  }
}
Result
{
  "data": {
    "rename_site": {
      "site": {
        "id": "1",
        "name": "Renamed example site"
      }
    }
  }
}