Insites Docs Instance APIGraphQLManaging GraphQL Queries

Managing GraphQL Queries

Last updated on April 09, 2026.

The GraphQL section shows all queries deployed to your Instance, whether they were created through the CLI tool or directly in the admin. You can edit any query to refine its logic or delete queries you no longer need.

Editing a GraphQL Query

  1. Navigate to API from the main menu.
  2. Select GraphQL.
  3. Find the query you want to edit and select its Edit row action link.
  4. Make your changes.
  5. Select SAVE.

If a query was deployed from the codebase via the CLI tool, editing it in the admin will update it on the Instance. However, the next CLI deployment will overwrite your admin changes with whatever is in the codebase. For permanent changes to CLI-deployed queries, update the source .graphql file and redeploy.

Deleting a GraphQL Query

  1. Navigate to API from the main menu.
  2. Select GraphQL.
  3. Find the query you want to delete and select its Delete row action link.
  4. Finalize the deletion using the confirmation modal.

Deleting a GraphQL query removes it permanently from the Instance. Any Liquid templates that reference the deleted query will stop working. If the query was deployed from the codebase, it will reappear on the next CLI deployment.

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.