Use nhost.graphql.unsetHeaders to remove global headers sent with all requests, except for the role header to preserve the role set by ‘setRole’ method.

nhost.graphql.unsetHeaders()

Use nhost.graphql.unsetHeaders to remove global headers sent with all requests, except for the role header to preserve the role set by ‘setRole’ method.

nhost.graphql.unsetHeaders()