Site · API
Managing GraphQL Queries
Last updated 18 November 2026
The GraphQL section shows all queries deployed to your Site, 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 do not need.
Editing a GraphQL Query
- Navigate to API from the main menu.
- Select GraphQL.
- Find the query you want to edit and select its Edit row action link.
- Make your changes.
- Select SAVE.
Note
If a query was deployed from the codebase via the CLI tool, editing it in the admin will update it on the Site. 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
- Navigate to API from the main menu.
- Select GraphQL.
- Find the query you want to delete and select its Delete row action link.
- Finalize the deletion using the confirmation modal.
Warning
Deleting a GraphQL query removes it permanently from the Site. 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.