Homepage

admin_graphql_update

Last edit: Nov 10, 2026

Updates a stored GraphQL query found by physical_file_path and returns it.
Raises an error when no such query exists; queries stored in a private module
directory cannot be updated

admin_graphql_update(
  graphql: UpdateGraphqlInputType!
  physical_file_path: String!
): GraphQL

Arguments

graphql (UpdateGraphqlInputType)

Attributes to change

physical_file_path (String)

Current physical_file_path of the query to update

Type

GraphQL

GraphQL query or mutation stored in the instance (app/graphql), returned by the admingraphql* mutations

Questions?

We are always happy to help with any questions you may have.

contact us