Skip to main content
Version: v2.x

Disable GraphQL Introspection

Introduction

The GraphQL Engine by default enables GraphQL Schema Introspection which gives full information about the schema and may not be desired in production.

To avoid this, you can disable GraphQL introspection on a per-role basis.

Disabling GraphQL introspection for a role

Introspection can be disabled for a role as shown below:

Hasura Cloud Console Schema Introspection tab